Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Cloudef
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
Cloudef
8mo ago
Note that this "diagnostics" pattern is only meant for handling a error locally with potential extra information, or showing a more useful error to a end user of the software. For software bugs, crashes, or developer facing errors
32.
▲
by
Cloudef
8mo ago
I dont think the core team accepts LLM generated code in the std.
33.
▲
by
Cloudef
8mo ago
I like that zig takes freestanding target seriously. And seems like 0.16 becomes even better for freestanding code reusability.
34.
▲
by
Cloudef
8mo ago
Its not the GC, its that D has no direction. Its kitchen sink of features and the optionality just fragments the ecosystem (betterC, gc) etc, making reusing code hard.
35.
▲
by
Cloudef
8mo ago
So do you believe seahorse emoji exists?
36.
▲
by
Cloudef
8mo ago
What's wrong about the statement? The black box algorithm might have been generated by machine learning, but it's still a computer program in the end.
37.
▲
by
Cloudef
8mo ago
That's from 2018. I think it's unlikely. Also zig's package manager needs a HTTP client.
38.
▲
by
Cloudef
8mo ago
> The Zig programming language maintains an intentionally small standard library. Zig's standard library is not that small to be honest. It has lots of useful tools that do not exist in other languages. The compiler uses the std. &g
39.
▲
by
Cloudef
8mo ago
WebGPU is kinda meh. It's when you need to do do something on browser that you can't with WebGL. GLES is the compatibility king and runs pretty much everywhere, if not natively then through a compatibility layer like ANGLE. I'
40.
▲
by
Cloudef
8mo ago
Emulating mac or using mac SDKs on non apple devices is against apple's bullshit license though.
41.
▲
by
Cloudef
8mo ago
The only thing C compilers do for printf, is static analyze the format string for API usage errors. Afaik such isn't possible in zig currently. But idk why'd you downgrade yourself to using the printf interface, when std.Io.Writer
42.
▲
by
Cloudef
8mo ago
It's completely possible to implement printf. here is my impl (not 100% correct yet) of snprintf for my custom libc implemented on top of a platform I'm working on < https://zigbin.io/ab1e79 > The va_arg stuff
43.
▲
by
Cloudef
8mo ago
I know HN is riding the LLM hype, but this codebase has no LLM in it.
44.
▲
by
Cloudef
8mo ago
JS reader impl without validation < https://zigbin.io/eb27cb >
45.
▲
Show HN: Simple random access archive format with no compression
(github.com)
1 points
by
Cloudef
8mo ago
|
1 comments
46.
▲
by
Cloudef
9mo ago
You are still playing with fire as the data inside those pointers may be different even if they are the same type. Zig is free to optimize them in anyway it likes depending on the code that touches them (aka its free to assume they never le
47.
▲
by
Cloudef
9mo ago
Yeah the new translate-c package already kind of does that.
48.
▲
by
Cloudef
9mo ago
I doubt zig will have stable abi any time soon. It may have some sort of "zig extern" when it gets mature. But stable abi isnt very usful if no-one else can talk it. I have project that uses codegen to effectively implement zig li
49.
▲
by
Cloudef
9mo ago
LLMs are just statistics, eventually they kill themselves with feedback loop by consuming their own farts (literally)
50.
▲
by
Cloudef
9mo ago
Zig build system can do all that just fine though
51.
▲
by
Cloudef
10mo ago
Apparently they are planning to create their own machine learning model with all the font data they have gathered.
52.
▲
by
Cloudef
10mo ago
kqueue is similar to epoll, it's readiness based and not completion like IOCP and io_uring. IOCP is nice in theory, but the api and the different ways everything has to be fed for it leaves a lot to be desired... Windows also has own v
53.
▲
by
Cloudef
10mo ago
CI's job for me is to just run a nix flake
54.
▲
by
Cloudef
11mo ago
I remember installing WhatsApp and it proceeded to delete all contacts from my phone. Haven't ever installed WhatsApp ever since. Have told people to either contact me through e-mail, google chat, LINE, discord or irc after that incide
55.
▲
by
Cloudef
11mo ago
Target apple and in 5 years your binary wont work anymore anyways
56.
▲
by
Cloudef
11mo ago
You are only safe if you run Tim's rootkit :)
57.
▲
by
Cloudef
11mo ago
Yes filc as abi makes most sense. Do note that while fil-c seems to have pretty good source compatibility some stuff still require patches (like python!)
58.
▲
by
Cloudef
11mo ago
Yeah, I was thinking nix will be probably one of the first things that can easily adapt Fil-C as it already packages in a way that allows different packages to be completely independent of each other, thus Fil-C's ABI compatibility doe
59.
▲
by
Cloudef
11mo ago
mac for gaming is just not a good idea
60.
▲
by
Cloudef
1y ago
Yes i got burned by this "feature" as well. Disabled immediately after having to explain emergency center that the phone prank called itself.
More ›