Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jedisct1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
421.
▲
by
jedisct1
3y ago
This is what we will get from these riots: - Massive tax increases - Less tourism - Economy will get worse - Price increases - No more investments in the suburbs - Less libraries and other free services - More surveillance - More police - R
422.
▲
by
jedisct1
3y ago
Leaks like crazy on macOS. For WebAssembly plugins, I also wish they used Extism, which is kinda the de facto standard for this.
423.
▲
by
jedisct1
3y ago
Have you actually looked at it/tried to contribute to it? Servo was a promising experiment, but it eventually became a massive, complicated, unmaintainable mess.
424.
▲
by
jedisct1
3y ago
Yes, Uber use Zig: https://www.uber.com/en-FR/blog/bootstrapping-ubers-infrastr...
425.
▲
by
jedisct1
3y ago
Not really. All modern JS engines, including V8 that Node uses, include excellent JIT compilers. Also, HTTP serving in Node uses code written in C, not JS. That being said, Node is slow compared to Bun: https://bun.sh
426.
▲
by
jedisct1
3y ago
Facebook's Proxygen is also pretty neat: https://github.com/facebook/proxygen
427.
▲
by
jedisct1
3y ago
Depends on your use cases. The reason I love Go are: - Simplicity and readability - Batteries included: projects don't have to depend on too many 3rd party dependencies - Same code can be easily compiled to many different architectures
428.
▲
by
jedisct1
3y ago
The Zig compiler itself is a good example: https://kristoff.it/blog/zig-self-hosted-now-what/ "The new self-hosted compiler reduces memory usage 3x compared to the old C++ implementation"
429.
▲
by
jedisct1
3y ago
Zig is very popular for WebAssembly: https://wasm4.org/blog/jam-2-results/
430.
▲
Recovering secret keys from devices using video footage of their power LED
(nassiben.com)
371 points
by
jedisct1
3y ago
|
104 comments
431.
▲
Zap – Fast backends in Zig
(github.com)
138 points
by
jedisct1
3y ago
|
64 comments
432.
▲
by
jedisct1
3y ago
The dnscrypt-proxy package doesn't exist any more?
433.
▲
by
jedisct1
3y ago
For scale, the 8086 had 29,000 transistors.
434.
▲
by
jedisct1
3y ago
And then you may just have introduced side channels in crypto code.
435.
▲
by
jedisct1
3y ago
> * Resolver cache poisoning > * MitM upstream from resolver Only for clients that do DNSSEC validation. Ignoring the additional latency it comes with, virtually no home routers nor operating systems do.
436.
▲
by
jedisct1
3y ago
Even Google doesn't enable DNSSEC. In the future, ECH may become a justification for enabling it, though.
437.
▲
by
jedisct1
3y ago
> DNSCrypt has been out a couple of years but does not yet have a standard RFC https://datatracker.ietf.org/doc/draft-denis-dprive-dnscrypt... It's not used by DNS root servers because it's designed to sec
438.
▲
by
jedisct1
3y ago
The most common attack against DNS is actually people's registrar accounts being compromised. That even happened to Google. This is used a ton by malware authors, who silently add records to host malicious websites on benign domain nam
439.
▲
by
jedisct1
3y ago
> DNSCrypt? Sounds good, but the server key is published in the NS record, which gets published in the old cleartext DNS What is published in DNS records are the public certificates, not their signatures.
440.
▲
Fastfilter: Binary fuse and xor filters for Zig
(github.com)
2 points
by
jedisct1
3y ago
|
0 comments
441.
▲
by
jedisct1
3y ago
If you use Argon2 with 2 KiB, there's something really wrong with your parameters.
442.
▲
by
jedisct1
3y ago
An algorithm that requires a ton of memory doesn't really make sense for web applications IMHO. bcrypt and bscrypt are better choices.
443.
▲
by
jedisct1
3y ago
bscrypt is a modern alternative to bcrypt; also cache-hard and more suitable than Argon2 and Scrypt: cache-hard, easier to deploy on multi-user environments, as well as web browsers/mobile devices. https://github.com/Sc
444.
▲
by
jedisct1
3y ago
Or LibreSSL.
445.
▲
by
jedisct1
3y ago
Zig hasn't reached 1.0 yet, but in my experience, it's stable enough to write code that has to be maintained long term.
446.
▲
by
jedisct1
3y ago
zig cc has great defaults, which includes UB sanitizers. Quite a few projects had bugs found and fixed just by compiling them with zig cc instead of gcc or clang.
447.
▲
by
jedisct1
4y ago
This is not due to autoconf. It's faster than the `make` command, i.e. after autoconf has generated everything. Building the tests, in particular is instant with zig, not with make. It may still be autoconf, but not the configure phase
448.
▲
by
jedisct1
4y ago
libsodium is written in C and Assembly, but uses Zig as an alternative to autoconf/make/etc. Builds are much faster than with make, and it makes it very easy to cross-compile to other platform, includes Windows, Linux with speci
449.
▲
by
jedisct1
4y ago
Actual code: https://github.com/bingcicle/gram A text editor in less than 1000 LOC. Pretty cool!
450.
▲
Fastest Programming Languages: Rust, C++, Swift, Java, and 90 more compared
(youtube.com)
2 points
by
jedisct1
4y ago
|
0 comments
More ›