HNHacker News
TopNewBestAskShowJobs

bnolsen

290 karma · joined March 14, 2012

High throughput multithreaded cross platform 64bit c++ developer doing high throughput things with digital optical and digital scanning payloads.
submissionscomments
bnolsen··on Thoughts on Go vs. Rust vs. Zig
I might buy your argument except that without corporate sponsorship for zig several projects using a very young and unfinished zig exhibit world class performance and utility, apparently without herculean effort.
bnolsen··on Thoughts on Go vs. Rust vs. Zig
'const expected: []const u32 = &.{ 123, 67, 89, 99 };' also works.
bnolsen··on Thoughts on Go vs. Rust vs. Zig
Unfortunately it makes the libraries difficult (or at least very tedious) to read. I find zig's standard library a very good reference for figuring out to do things in application space, from what I've seen it's been very clear and useful.
bnolsen··on Thoughts on Go vs. Rust vs. Zig
I don't think manual memory management is c's problem. a very large number of errors i see in 'c' programs comes from the null terminated string paradigm and also mistakes from raw pointer manipulation (slices/fat pointers help a lot here).
bnolsen··on Thoughts on Go vs. Rust vs. Zig
"wrong practice" i always get the impression that rust is an authoratian language that thinks it knows how programming should be done.
bnolsen··on Why we built Lightpanda in Zig
I don't think D brought enough new to the table. I had already been coding in c++ for a while and was getting tired of all the little things wrong with c++. While D cleaned up a few things it was already too complex for my taste. And the whole GC thing followed by the D2 fiasco and I lost interest. When dipping my toes into Rust I also got the same vibe from it that I had from D. Too much complexity built in. I guess that made me a sucker for Zig because it is able to combine simplicity, cleverness, clarity and high performance.
bnolsen··on Why Zig When There is C++, D, and Rust?
Issues now are mostly with the standard library itself which is still in flux.
bnolsen··on Open-source Zig book
C++ explored a lot of ideas that some modern languages borrowed. C++ just had to haul along all the cruft it inherited and built up.
bnolsen··on Why is Zig so cool?
I don't think zig is that much more complex than golang, with a (currently) crappier standard library. The bonus being you leave no performance on the table. I wonder if it would work with devops, where both c++ and rust fails.
bnolsen··on Why is Zig so cool?
Zig is simple, clever and clean. certainly not perfect but it addresses much of what I disliked about c++. I wanted to like D and rust but they seem just as complex as c++. Yes, better in some ways but still full of complexity.
bnolsen··on Why is Zig so cool?
Custom allocators in c++ was never enjoyable nor easy. It introduces more template slop everywhere. That's one thing I really liked about eastl, it did allocators much better. But it wasn't maintained.
bnolsen··on (Cubyz)Voxel Sandbox Game written in Zig released.
Which version of zig compiler does this use?
bnolsen··on Systems Programming with Zig
Both go and rust had substantial dedicated corp support and dollars behind them. Zig not so much. With that in view its advancement is pretty remarkable.
bnolsen··on Systems Programming with Zig
The language itself won't change much. The standard library is what is still in flux.
bnolsen··on Systems Programming with Zig
Go doesn't belong in this discussion.its a better java, c#, python and not much more. It doesn't work for 24/7 or for performance sensitive applications.
bnolsen··on Is Zig's new writer unsafe?
People seem to underestimate this. One of the first reasons I noticed about c++ was trying to figure out what functions were being called in an overly complex inheritance hierarchy. The next was from hidden behavior from seemingly benign looking sequence of statements. Both of these are a barrier of entry for bringing in new coders to a complex code base.
bnolsen··on I'm too dumb for Zig's new IO interface
The anti rust sentiment in large part is dissatisfaction with rust itself. Ziglang.org lists 3 principles of zig: no hidden control flow, no hidden memory allocations, no macros. This is not anti rust for the sake of being anti rust, this is anti lots of popular languages, and I personally like it.
bnolsen··on I'm too dumb for Zig's new IO interface
Hidden control flow violates the zig manifesto.
bnolsen··on Rust compiler performance
The answer there was to always write small standalone executable unit test sets and simulation for day to day coding. Avoiding template heavy pigs like QT or boost helps too.
bnolsen··on Rust compiler performance
Compilation speed makes go nice. Zig should end up being king here depending on comptime use (ie: lack of operators can be overcome by using comptime to parse formulae strings for things like geometric algebra).
bnolsen··on The X.Org Server just got forked (announcing XLibre)
You could almost swap systemd and sysvinit out here. the biggest difference is that X and Wayland is a true dichotomy here.
bnolsen··on Zig: A new direction for low-level programming?
We can always dream about the unicorn language. In my opinion zig is the closest I've seen. Simple and orthogonal yet brilliantly extensible with its comptime. But it's not without its warts. And it doesn't annoy me like Rust seems to. (long time c++ programmer here who is weary of the ever growing complexities).
bnolsen··on Zig: A new direction for low-level programming?
That might violate the no implied behavior rule that zig has.
bnolsen··on Zig: A new direction for low-level programming?
Rust is super heavy handed in how it does it.
bnolsen··on Zig: A new direction for low-level programming?
Odin just hasn't been in the same league performance wise as rust, c, c++, zig. For these types of languages it's important.
bnolsen··on Quebec refuses to reinvest in Lion Electric
Tariffs are bad if you are the United States and tariffs are good if you are any other nation.
bnolsen··on Office is too slow, so Microsoft is making it load at Windows startup
I had a 3060 12g in my daughters computer. It would freeze every couple of weeks for who knows what reason. Swapped out her mobo/CPU/ram with mine and it still froze. Put in an rx5709xt and it's all good now. The 3060 is now in a server. I would have gotten the card if someone at work hasn't sold it to me for 100$. What originally made me leave Nvidia was because of how quickly Nvidia dropped driver support for not very old cards but I can't remember what card I had at the time.
bnolsen··on Office is too slow, so Microsoft is making it load at Windows startup
The opposite is true. He uses vim therefore I trust him.
bnolsen··on Office is too slow, so Microsoft is making it load at Windows startup
My experience is the opposite. Epgot a hold of a bunch of floppies in 1991. Dual booted so I could play Diablo. Some time around '98/99 got tired of dual booting.

Steam getting proton was a godsend, all those years of games became playable so now I have a huge back catalog.

bnolsen··on Programming in D: Tutorial and Reference
Having coffee almost 30 years in c++ I really good tired of the complexity of it. Some of the newer complexity being workarounds for (in retrospect) poor decisions made decades ago. Build system situation never helped, and I still despise cmake. When D came out I was interested but garbage collection immediately turned me off, in my opinion the boost shared pointers (later adopted into the standard) solved and shut the door on memory leaks as a serious issue.

And then the d2 fiasco sort of blew it all up. Doesn't help that the language always felt very heavy to me. Likewise Rust feels heavy and cumbersome itself.

So it ends up that I'm another one of those who feels the itch getting scratched by zig.

← PreviousPage 2 of 12Next →