HNHacker News
TopNewBestAskShowJobs

wycliffb

43 karma · joined February 13, 2015

unassuming_brogrammer, C++ Hacker from Kenya.
submissionscomments
wycliffb··on Rook to XSS: How I hacked chess.com with a rookie exploit
No such thing as a rookie exploit
wycliffb··on Manjaro is a free and open source Linux operating system that emphasizes privacy
Everything these days is Lightning Fast
wycliffb··on Manjaro is a free and open source Linux operating system that emphasizes privacy
Everything now is Lightning Fast
wycliffb··on Funds of every Trust Wallet browser extension could have been stolen
They are precious
wycliffb··on Ask HN: Who's an open source maintainer/project that needs sponsorship or help?
GitHub.com/onchere
wycliffb··on Elizabeth Holmes is sentenced to more than 11 years for fraud
Not bad for that kind of money. Not bad...
wycliffb··on Ask HN: Where can I find an updated AI reading list?
https://arxiv.org/list/cs.LG/recent
wycliffb··on [dead]
What do think about it? How does it compare with, say PyTorch or TensorFlow? Thanks.
wycliffb··on Best Website for Preparing online Coding for cracking the coding rounds in Tech?
interviewing.io watch some of their videos on github
wycliffb··on Looking for a Developer
Here! wycliffb at Gmail dot com
wycliffb··on MSVC's implementation of the C++ Standard Library
Thanks for the distro. I use it for dev on my Windows machine. Can't wait for the update!
wycliffb··on Ask HN: How common is it to work on projects with no testing?
Personally, I don't do tests on my projects, it's a weak guarantee in my opinion. I prefer formal proofs... Working on a language for automatically managing the same.. Gothub.com/onchere/whack
wycliffb··on Kenya Government mandates DNA-linked national ID, without data protection law
Yes. An example is telco market leader Safaricom.co.ke that rolled out 'voice as password'. Keep in mind most Kenyan transactions these days are in mobile money.
wycliffb··on Ask HN: What practices can we use to avoid overengineering in our projects?
Focus on the exact problem being solved, start small, refactor progressively as new requirements come in.
wycliffb··on Ask HN: Is there a bsc computer science certification exam
The closest to that is CSPA.io, but they don't confer degrees. It's billed as the SAT for software engineers.
wycliffb··on Ask HN: How to learn to write a compiler and interpreter?
maybe you could look into LLVM's Kaleidoscope tutorial..
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Currently following up on comments 1 and 3. Very good suggestions.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Check: https://github.com/aalhour/awesome-compilers
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Will definitely follow up on this. Maybe we could support DSLs while at it?
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
I haven't come across good material on the matter. If you do use C++ I do recommend you employ RAAI idiom in code generation for help with lexical scoping for your language.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Interesting suggestion! Will be sure to add that when I can.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Will remember to do so: will add an example for each language feature.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Just pushed LLVM.dll to snapshot folder.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
> would recommend looking into writing a grammar, have that generate your AST, then do some transformations on the AST to generate code. you will save a lot of time.

I had this thought, so I used a parser combinator (mpc) to generate the AST from the grammar and source file, then extract useful elements from the AST for codegen.

wycliffb··on Show HN: Whack – A simply-designed compiled programming language
You might find Types and programming languages - Benjamin C. Pierce to be particularly interesting. There's a GitHub repo with a list of materials, can't seem to find it. When I do, will remember to share!
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Will commence working on a doc to explain some design choices, and what some non-obvious code fragments do; will update here when I commit. There's no subtyping being done currently. The 'match type' construct matches the type of an expression at compile time. I should also add that some design choices may be reviewed before the first release.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
There's a sample file main.w in the snapshot folder, there's also a grammar file at the source root.
wycliffb··on Show HN: Whack – A simply-designed compiled programming language
Will appreciate comments on the implementation/design choices.