News for hackers. Stuff that matters.
Re:Ask HN: Modern Alternatives to C by pkphilip on Sunday May 01, 2022 @12:43PM (#31226449)
Free Pascal with Lazarus. Sounds weird but you can do pretty low level programming (as with C) with Free Pascal including using assembly language, if needed. And you can compile into a single executable.

Also, since it already includes a UI and also a web browser component which you can extend/modify, it would be trivial to get started with developing the nuts and bolts of the Web browser

Re:Ask HN: Modern Alternatives to C by Tozen on Tuesday May 03, 2022 @03:47AM (#31245772)
People sleep on Object Pascal to the extent it's almost comical. Not sure why more people refuse to get over the begin...end versus {...} bias or hypocrisy (since some will jump all over Python-like or Ruby-like syntax). A lot of what people want their language to become, is what Object Pascal already is.
Re:Ask HN: Modern Alternatives to C by leakbang on Sunday May 01, 2022 @12:59PM (#31226574)
I really would want to develop everything from scratch and not use preexisting libraries. But Pascal seems interesting. But a concerning thing would be an active community and active open-source projects. I'll take a closer look at pascal.
Re:Ask HN: Modern Alternatives to C by pkphilip on Saturday May 07, 2022 @12:54AM (#31292255)
There are tons of downloadable components and quite a lot of people who still use it. If you need help with getting started, do let me know and I can walk you through an introduction which will save you a lot of time and get you going pronto.
Re:Ask HN: Modern Alternatives to C by leakbang on Saturday May 07, 2022 @02:10PM (#31297005)
Thank you very much for your kind offer :) but I already made my choice and picked up Zig. It was exactly what I was looking for. A modern C. No hidden preprocessor, no macros, no hidden control flow, and most importantly, it has an active community.
Re:Ask HN: Modern Alternatives to C by pkphilip on Tuesday May 10, 2022 @12:16AM (#31323394)
Thank you for the update. Wishing you the best!