Viewing profile — bnolsen
bnolsen
HN member- Joined
- Wed, Mar 14, 2012, 12:42 AM UTC
- HN karma
- 290
- Public activity
- 352 items
- HN profile
- View on Hacker News ↗
About bnolsen
Recent public activity
-
comment
Comment #48614881
C++ and rust make these optionals ugly. Zig does it right. Zig also forbids null pointers and requires use of optionals.
-
comment
Comment #48614871
That's called a fat pointer. Null terminated c strings is the majority of memory errors out there.
-
comment
Comment #48415002
I was doing this for remote sensing orthorectification work back in 2004/2005. It works very well across multiple types of imaging sensors.
-
comment
Comment #48392583
I personally think something like the qok format is a better way to go. Make something that performs well and is dirt simple to implement.
-
comment
Comment #48266076
It's pretty sad it used to not be so bad in the US. This is what happens when ethics and morals are removed from the culture.
-
comment
Comment #48266054
I would think that you might have a better time going from go to zig. You would have to provide a pattern for implementing the interface model go uses.
-
comment
Comment #48188321
Zig fails unit tests if there's a memory leak in those tests.
-
comment
Comment #48188306
One of the core design principles of zig is no implied behavior.
-
comment
Comment #48029660
Unit tests in zig will fail if the tested code leaks memory.
-
comment
Comment #47778355
I guess the 'zit' name was already taken by something else.
-
comment
Comment #47702265
The radeon 8500 deserves to be on that list. It still has active Linux support under mesa.
-
comment
Comment #47653949
HTML is not something to hold up as the standard for documentation.
-
comment
Comment #47643199
Why not just use zig for the entire thing?
-
comment
Comment #46899032
Not to be confused with zlib.
-
comment
Comment #46899005
Except for all the baggage it carries along with it including hacks to address baggage resulting in a very bloated language.
-
comment
Comment #46839247
Quaternions are left handed spinors. Please use the correct unified math models (clidfford algebra) rather than these 3d only hacks.
-
comment
Comment #46643133
Having worked with c++ strings and also string views I find zigs simple fat pointer to be fairly direct and straightforward, and a bit refreshing. Ownership is being coupled in wit…
-
comment
Comment #46437975
And then zig shows up...
-
comment
Comment #46380702
It's christmas and not april fools!
-
comment
Comment #46376649
I remember seeing this a long time ago and liking it, I just didn't have a use for it at the time. How does it stack up against luahit for perf and memory, and threading? It also l…
-
comment
Comment #46372639
Work gave me an m1 pro with 32gb on it. A year ago I put together one of those minisforum board+laptop apu with 64gb ram and 2tb nvme for not much money at the time, likely 500usd.…
-
comment
Comment #46316417
There's active work towards that (which could run as part of CI) and it looks very promising: https://github.com/ityonemo/clr
-
comment
Comment #46316390
Zig actually does bring some new and innovative ideas to programming. While Zig itself may not become the next big thing a lot of ideas in it most certainly will find their way int…
-
comment
Comment #46239613
And they tried to hang him for it. I wasn't particularly pleased with some actions he took after he ran off but the government reaction was truly out of hand and forced him into fu…
- comment