> the language motto is “No hidden control flow”. Oh man, I wish the Haskell crowd gave at the very least lip service to that type of idea.
Zig: A new direction for low-level programming?
101–110 of 110 posts
Re: Zig: A new direction for low-level programming?
#102Because we rarely have objective measures by which to compare programming languages, there is no such thing as "ideal." Some objective measures can include code size, and it is undoubtedly true that switching from Assembly to Python often results in a super-linear reduction in code size, but we rarely see such differences anymore. When we do get some objective comparisons through empirical research -- always many yea…
> https://news.ycombinator.com/item?id=43939520 Hi pron, I am hoping you could write your thoughts on Odin.
There are some very successful uninteresting languages (Python and C# come to mind), but they don't give you much to think or talk about other than, perhaps, a particular interesting feature here or there. Again, that's not to say they're badly designed or don't deserve their popularity.
Re: Zig: A new direction for low-level programming?
#103Earlier quoted context omitted.
I see. That might be what's happened, then.
Name and shame the anti-malware vendor you/your company is using, so that I will avoid them.
Re: Zig: A new direction for low-level programming?
#104For the Bitshifters author: could you do a review of the V language as well?
Re: Zig: A new direction for low-level programming?
#105I've been closely following and evaluating the train of C replacement languages that was (I believe) started by Jonathan Blow and Jai. Zig is one of the strong contenders, but Odin is IMO following a saner path, Carbon and D should be mentioned and I think there are a few others. My initial reaction to new programming languages is naturally skeptical, but I really liked the way the designers behind those efforts appr…
Re: Zig: A new direction for low-level programming?
#106Earlier quoted context omitted.
> the problems they try to solve are not painful enough. The lack of safety is not painful enough? There is an entire industry (i.e. job sector, training, expertise) that evolved to try to thwart bad actors abusing unsafe languages.
But neither Zig nor Odin solve this problem. The only serious attempt is Rust.
Re: Zig: A new direction for low-level programming?
#107Instinctually I’m bothered by passing an allocator to everything. LISP’s dynamic variables spring to mind. One could set an arena allocator at the top of a loop in a dynamic variable and then everything inside the loop would use that allocator. The bottom of the loop could free everything. Although I do really like knowing if something might call an allocator, perhaps a function specifier to indicate it allocates. Al…
Re: Zig: A new direction for low-level programming?
#108Because we rarely have objective measures by which to compare programming languages, there is no such thing as "ideal." Some objective measures can include code size, and it is undoubtedly true that switching from Assembly to Python often results in a super-linear reduction in code size, but we rarely see such differences anymore. When we do get some objective comparisons through empirical research -- always many yea…
Re: Zig: A new direction for low-level programming?
#109For the Bitshifters author: could you do a review of the V language as well?