Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Panzerschrek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
Panzerschrek
3mo ago
I am asking, because I doubt a single person can achieve this. It requires at least a team of several people.
62.
▲
by
Panzerschrek
3mo ago
Who is the author of this project? Is it a single person? A small team? A single person with LLMs?
63.
▲
by
Panzerschrek
3mo ago
Yet another prove of the idea that worse is better. First people use unsafe poorly-designed languages for writing critical software (already worse). Then someone invents a hack making code 4x slower and consuming 2x more memory to "fix
64.
▲
by
Panzerschrek
3mo ago
Looks nice for such wimpy hardware. But using 16-bit Z-buffer for 1-bit display seems to be an overkill. Sorting polygons works mostly fine if done right, especially if BSP tree is already used.
65.
▲
by
Panzerschrek
3mo ago
> Never null: it always holds a value, except in the moved-from state I am wondering why C++ can't implement "non-null" unique_ptr version in the same way? As I know, that the main argument against implementing it is, that
66.
▲
by
Panzerschrek
3mo ago
It's a good decision to ban cryptocurrency projects. Such a project may be mostly fine, but considering overall cryptocurrency shady reputation it's better to keep it away. The same is for LLM-slop projects. They have little to no
67.
▲
by
Panzerschrek
3mo ago
How did it work? As I know DOS wasn't even a proper operating system, there were no separate processes, only single running task. So, how was it possible for multiple users to run multiple programs in parallel?
68.
▲
by
Panzerschrek
3mo ago
> If I wanted working really close to hardware, do bit-twiddling and knowing where every byte is allocated, I'd take Zig Why not C++? It allows as many low-level operations as one wishes, but don't forces you to manage memory m
69.
▲
by
Panzerschrek
3mo ago
Yet another attempt to reinvent a better C. Curious, but unpractical. If one need a better C, C++ should be used instead.
70.
▲
by
Panzerschrek
3mo ago
> It is memory safe How? Do you have references/pointers? Are all objects except basic scalars heap-allocated and GC-tracked? Do you perform some clever compile-time analysis? > I don't know what you exactly mean with an &qu
71.
▲
by
Panzerschrek
3mo ago
How does it achieve memory safety? Via garbage collection? Via runtime checks? Via some clever compile-time analysis?
72.
▲
by
Panzerschrek
3mo ago
Is it memory safe? Can I cause use-after free, double-free, out-of-bounds access errors or something similar? What about race conditions? In your DCMP examples you demonstrate how types can be composed from smaller components. How does it w
73.
▲
by
Panzerschrek
3mo ago
Interesting, but unpractical. As I know there is no way to perform automatic translation from one programming language to another without producing code which looks terrible in the destination language. In this particular example I see no r
74.
▲
by
Panzerschrek
3mo ago
Interesting. I didn't thought it's possible.
75.
▲
by
Panzerschrek
3mo ago
There are also performance benefits of unsigned integer types: division, modulo and sometimes multiplication for them works slightly faster.
76.
▲
by
Panzerschrek
3mo ago
Can I write a game using OpenGL in Lisp?
77.
▲
by
Panzerschrek
3mo ago
Public infrastructure is different. It should work for everyone. My argument is more about commercial products with profitability kept in mind.
78.
▲
by
Panzerschrek
3mo ago
There are cases when providing service for remaining 2% isn't profitable. It's better just say "sorry". I used to work in company where we have spent a lot of time making custom fixes for our software in order to work-ar
79.
▲
by
Panzerschrek
3mo ago
Nice thing! I did something similar for a couple of years, but with hex-prisms instead of cubic voxels.
80.
▲
by
Panzerschrek
3mo ago
> exceptions are slow There are proposals to introduce better exceptions into C++. Like this: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p07... . But until it's not in the
81.
▲
by
Panzerschrek
3mo ago
> The purpose of cryptography theatre is not to deliver actual security from a cryptographic perspective but act as a kind of magic spell This reminds me Telegram, which promises to be secure, but requires giving it my phone number, whic
82.
▲
by
Panzerschrek
3mo ago
Your proposal still contains a security hole, since it still allows executing cmake or something similar. Adding sandboxing in some parts/steps of a build system has no benefits, as soon as the system as whole has loopholes allowing
83.
▲
by
Panzerschrek
3mo ago
I didn't say one should not use thirdparty dependencies at all. They are sometimes useful. But they should be chosen carefully and ideally reviewed. And any updates should be done manually in order to prevent security chain attacks. Ha
84.
▲
by
Panzerschrek
3mo ago
For me this happens from time to time. But it's for a good reason - I develop my own compiler. And it can be pretty tricky to identify and track such bugs.
85.
▲
by
Panzerschrek
3mo ago
Very interesting approach. But I see little practical usage for it. Usually when I care doing fuzzing, I can recompile with clang and fuzzing passes.
86.
▲
by
Panzerschrek
3mo ago
I think it's actually good that C++ has no standardized packaging system. This forces one to think carefully before introducing a dependency, since often such dependency have hidden costs, like security vulnerabilities. Since many crit
87.
▲
by
Panzerschrek
3mo ago
I see no benefits in sandboxing such things as build systems. Sooner or later one eventually needs to execute some external code, like a shell script or cmake . And these external programs can do whatever they want. So, caring about sandbo
88.
▲
by
Panzerschrek
3mo ago
It's even worse. Learning Lua may be at least a little bit useful for other tasks. Learning some language specific for this tool is just waste of time.
89.
▲
by
Panzerschrek
3mo ago
Using Lua is a fatal flaw. As a C++ programmer I don't want to learn yet another language for a build system.
90.
▲
by
Panzerschrek
3mo ago
Is it some silly attempt to gather personal data like physical address/phone number?
More ›