Better HN
topnewbestaskshowjobs
Log inSign up

bnolsen

290 karma · joined Mar 14, 2012 (14y ago) · 355 submissions

High throughput multithreaded cross platform 64bit c++ developer doing high throughput things with digital optical and digital scanning payloads.
Submissions

comment 1w ago · link · parent

i'd prefer seeing libc's null terminated string handling deprecated and replaced entirely by fat pointers. libc String handling has always been a minefield and is by far the main source of security findings in c/c++ code.

comment 1mo ago · link · parent

of course the asus rog z13.

comment 2mo ago · link · parent

buz, a fork of bun right before the rust rewrite, claims sub second incremental builds just by using what zig itself provides.

https://micrologics.org/blog/architecting-sub-second-javascr...

comment 5mo ago · link · parent

C++ and rust make these optionals ugly. Zig does it right. Zig also forbids null pointers and requires use of optionals.

comment 5mo ago · link · parent

That's called a fat pointer. Null terminated c strings is the majority of memory errors out there.

comment 5mo ago · link · parent

I was doing this for remote sensing orthorectification work back in 2004/2005. It works very well across multiple types of imaging sensors.

comment 5mo ago · link · parent

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 6mo ago · link · parent

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 6mo ago · link · parent

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 6mo ago · link · parent

Zig fails unit tests if there's a memory leak in those tests.

comment 6mo ago · link · parent

One of the core design principles of zig is no implied behavior.

comment 6mo ago · link · parent

Unit tests in zig will fail if the tested code leaks memory.

comment 7mo ago · link · parent

I guess the 'zit' name was already taken by something else.

comment 7mo ago · link · parent

The radeon 8500 deserves to be on that list. It still has active Linux support under mesa.

comment 7mo ago · link · parent

HTML is not something to hold up as the standard for documentation.

comment 7mo ago · link · parent

Why not just use zig for the entire thing?

comment 9mo ago · link · parent

Not to be confused with zlib.

comment 9mo ago · link · parent

Except for all the baggage it carries along with it including hacks to address baggage resulting in a very bloated language.

comment 9mo ago · link · parent

Quaternions are left handed spinors. Please use the correct unified math models (clidfford algebra) rather than these 3d only hacks.

comment 10mo ago · link · parent

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..

comment 10mo ago · link · parent

And then zig shows up...

comment 11mo ago · link · parent

It's christmas and not april fools!

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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. For the performance sensitive software I was working on the 7935hs ran with about 50x more throughout using compilers with llvm backend.

comment 11mo ago · link · parent

There's active work towards that (which could run as part of CI) and it looks very promising: https://github.com/ityonemo/clr

comment 11mo ago · link · parent

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 into languages moving forward.

comment 11mo ago · link · parent

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 full survival mode. This part of government is full of weird power crazed spooks.

comment 11mo ago · link · parent

they are very awkward to use in the current STL, they are part of the template definition. Back in the day EASTL did allocators much better but it never became a thing.

comment 11mo ago · link · parent

This confuses me. In zig null pointers are illegal, and I have yet to run into any case that should be addressed by using pointer arithmetic, that's all taken care of with slices.
12345
12