HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bnolsen

no profile record

comments

bnolsen
·20 dni temu·discuss
C++ and rust make these optionals ugly. Zig does it right. Zig also forbids null pointers and requires use of optionals.
bnolsen
·20 dni temu·discuss
That's called a fat pointer. Null terminated c strings is the majority of memory errors out there.
bnolsen
·w zeszłym miesiącu·discuss
I was doing this for remote sensing orthorectification work back in 2004/2005. It works very well across multiple types of imaging sensors.
bnolsen
·w zeszłym miesiącu·discuss
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.
bnolsen
·2 miesiące temu·discuss
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.
bnolsen
·2 miesiące temu·discuss
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.
bnolsen
·2 miesiące temu·discuss
Zig fails unit tests if there's a memory leak in those tests.
bnolsen
·2 miesiące temu·discuss
One of the core design principles of zig is no implied behavior.
bnolsen
·2 miesiące temu·discuss
Unit tests in zig will fail if the tested code leaks memory.
bnolsen
·3 miesiące temu·discuss
I guess the 'zit' name was already taken by something else.
bnolsen
·3 miesiące temu·discuss
The radeon 8500 deserves to be on that list. It still has active Linux support under mesa.
bnolsen
·3 miesiące temu·discuss
HTML is not something to hold up as the standard for documentation.
bnolsen
·3 miesiące temu·discuss
Why not just use zig for the entire thing?
bnolsen
·5 miesięcy temu·discuss
Not to be confused with zlib.
bnolsen
·5 miesięcy temu·discuss
Except for all the baggage it carries along with it including hacks to address baggage resulting in a very bloated language.
bnolsen
·5 miesięcy temu·discuss
Quaternions are left handed spinors. Please use the correct unified math models (clidfford algebra) rather than these 3d only hacks.
bnolsen
·6 miesięcy temu·discuss
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 with the type..
bnolsen
·6 miesięcy temu·discuss
And then zig shows up...
bnolsen
·7 miesięcy temu·discuss
It's christmas and not april fools!
bnolsen
·7 miesięcy temu·discuss
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 looks like it could be worth looking at porting the compiler to zig which excels at both compiler writing and cross platform tooling.