News for hackers. Stuff that matters.

ggliv

Re:Show HN: Hosting my website using my own C web server on Wednesday September 25, 2024 @10:27AM (#41647930)
This is a neat perspective. I’ve heard conversation on how working with different programming languages affects how you code (“learn Haskell, it’ll make you think more functionally!”) but for some reason I never connected it to the linguistic side of things.

I remember learning about the effects of language on cognition in a psychology course I took a while ago, it’s interesting to think about how that could apply more broadly.

Re:Roll A Lisp In C – Reading (2020) on Sunday May 12, 2024 @09:32AM (#40334310)
While probably a bit overkill for writing a Lisp, Robert Nystrom’s Crafting Interpreters [0] is a really fantastic book on the topic.

[0] https://craftinginterpreters.com/contents.html

Re:My personal C coding style as of late 2023 on Monday October 09, 2023 @09:37AM (#37820341)
Could you elaborate on the reasoning behind using byte length instead of bit length?

Most of the time when I use fixed-width int types I’m trying to create guarantees for bitwise operators. From my perspective I feel like it therefore makes the most sense to name types on a per-bit level.

Re:Ask HN: Could you share your personal blog here? on Wednesday July 05, 2023 @10:12AM (#36600750)
Your Game Boy series has been a very nice reference for me as I've slowly cobbled together my own emulator, so thanks for that!