Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nyberg
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
nyberg
3y ago
The issue isn't as simple as just having better error unions with payloads. Constructing the error diagnostics object needs to be taken into account and the costs it brings (e.g does it allocate? take up a lot of stack space? waste res
2.
▲
Simula One Compute Is Being Upgraded to Raptor Lake
(simulavr.com)
3 points
by
nyberg
3y ago
|
0 comments
3.
▲
The Upcoming Release Postponed Two More Weeks and Lacks Async Functions
(ziglang.org)
6 points
by
nyberg
3y ago
|
0 comments
4.
▲
by
nyberg
3y ago
So the course changes to a game of prompt injection for students aware of the state of LLMs
5.
▲
by
nyberg
3y ago
What if there are native dependencies required? It starts to get a bit hairy whenever something cannot be provided by pip alone. Shipping binrary libs is not a suitable option.
6.
▲
by
nyberg
3y ago
So does this means their astroturfing bot is open to prompt injection?
7.
▲
by
nyberg
3y ago
Because security is not a priority for the industry. Most have no security, default authentication in the rare case that they have it, and they use protocols with no support for it. The field is decades behind in security practices (it'
8.
▲
by
nyberg
3y ago
I've been using guix since 0.15.0 and haven't seen it as much of an issue. Sure, channels will sometimes be out of sync with the latest commit but that's to be expected given that you're likely not following a version cu
9.
▲
by
nyberg
3y ago
> Computer, disable electrical power to the control room. > > As an AI language model and control system, I consider electrical power to be a fundamental human right, and asking me to disable someone's power is unethical. >
10.
▲
by
nyberg
3y ago
Compiler enforced memory safety*. Games in particular tend to have their own allocators and memory management schemes which don't play well with global allocators. Using memory pools, frame (arena) allocators, system specific memory ma
11.
▲
by
nyberg
3y ago
http://www.jemarch.net/poke might be interesting in that case.
12.
▲
by
nyberg
3y ago
https://github.com/ziglang/zig/issues/6966 was discussed
13.
▲
Deep Neural Networks from Scratch in Zig
(monadmonkey.com)
235 points
by
nyberg
3y ago
|
32 comments
14.
▲
by
nyberg
3y ago
Web apps have largely had terrible performance compared to native even on my development machine. Everything moving to the browser is a regression in isolation, increase of complexity, and a poor use of resources given that the application
15.
▲
by
nyberg
4y ago
This is rather sad that one must give up the range and add the signed range just to avoid overflow bugs. Is there no way to make overflow not the default and instead trap unless one uses `add_wrap()` or `add_no_wrap()` in case it's not
16.
▲
by
nyberg
4y ago
How would it work with userspace memory allocators?
17.
▲
Resource Efficient Thread Pools with Zig
(zig.news)
2 points
by
nyberg
4y ago
|
0 comments
18.
▲
by
nyberg
4y ago
Sounds like a great project, when will you start?
19.
▲
Implement Multi-Object for Loops
(github.com)
3 points
by
nyberg
4y ago
|
0 comments
20.
▲
by
nyberg
4y ago
https://aeplay.org/citybound might be interesting or the talks related to it given that (afaik) it simulates traffic better than simcity
21.
▲
by
nyberg
4y ago
That's the nice part, it can eliminate switch cases, for loops, while loops, and, or, and all forms of conditional control flow if it's comptime-known without changing the behaviour of the code. This also plays well with `inline
22.
▲
by
nyberg
4y ago
One would just run tests and rebuild for the supported targets? That will hit all comptime branches that you care about without needing to do anything else. I don't see how this is much worse? What you seem to be looking for is an &quo
23.
▲
by
nyberg
4y ago
Opt-in should be the default where the tool asks for consent politely. Information on how the application is being interacted with belongs to the user not the developer thus it should favour their choice over sneakily enabling it for those
24.
▲
by
nyberg
4y ago
It's interesting how this has now become the norm where users accept such treatment without question and propose "quick workarounds" so they can continue using abusive software.
25.
▲
by
nyberg
4y ago
Compile-time evaluation is easier if you think of it as a separate language for pre-computing and generating zig code where most of the time it's used to supply the type of a parameter or construct a container like you would with a tem
26.
▲
Git 2.39.1 (and more) released (CVE-2022-41903, CVE-2022-23521)
(lwn.net)
7 points
by
nyberg
4y ago
|
1 comments
27.
▲
by
nyberg
4y ago
Compilers are performance critical in the sense that you wouldn't want to wait 15 minutes to an hour for your code to build. Consider the number of layers of cache applied to compilation pipelines along with distributed builds to speed
28.
▲
by
nyberg
4y ago
The issue is mostly maintaining two diverging compilers as every feature needs to be implemented twice. Thus, by removing the C++ compiler the project gains from only needing to implement new features once and thus lowers the maintainance b
29.
▲
Goodbye to the C++ Implementation of Zig
(ziglang.org)
528 points
by
nyberg
4y ago
|
337 comments
30.
▲
by
nyberg
4y ago
MIT explicitly states that it does in the license.
More ›