Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fwsgonzo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
361.
▲
by
fwsgonzo
4y ago
The only project that compares 1:1 is Pythran: https://github.com/serge-sans-paille/pythran Pythran is fairly nice, and it really does work. I tried it last year and it compiles down to modifiable templated C++. I was
362.
▲
by
fwsgonzo
4y ago
Relax, my friend. HN is just a bunch of news stories hosted on a single server, one of many. There's a bunch of places you can join if you want to actually have conversations, every day. Join Discord communities for the hobbies and tec
363.
▲
by
fwsgonzo
4y ago
I added Nim support to an edge platform for that reason. I think it fits in with the others. Crucially it boils down to machine code and can be debugged with GDB.
364.
▲
by
fwsgonzo
4y ago
Audio is real-time and performance is everything. Freezing tracks should take the least amount of time possible and no skipping should occur unless you are using the most complex modular VST out there. With WASM being like 1/3 of nativ
365.
▲
by
fwsgonzo
4y ago
Very occasionally I need Windows for something, and then a VM would be nice, but Windows has been growing in size lately - so much that I don't want to use it anymore. So now I am trying to make do with just Linux. Otherwise, I am usin
366.
▲
by
fwsgonzo
4y ago
It is mostly children playing these games, and yes we absolutely should save our children from gambling-based games.
367.
▲
by
fwsgonzo
4y ago
https://github.com/komrad36/CRC I measured it on my computer to run at 32GB/s, i7 4770k.
368.
▲
by
fwsgonzo
4y ago
If this can produce static executables on Linux we may have a winner. We are in the process of selecting a language for $product and we need to pick one everyone is happy with, that boils down to static ELFs. My pick would have been Nim or
369.
▲
by
fwsgonzo
4y ago
Just build a tiny application alongside an open source Varnish instance, and use it as a local backend. It's "free" if you have decent latency to the area of Internet you care about. For example, my latency is just fine to al
370.
▲
by
fwsgonzo
4y ago
VB6 was the last "real" VB program before .NET obsoleted it. I used it for decades when I was young, and I have never again used anything that was as good, as simple, as precise and as feature-complete. Debugging in VB6 was incred
371.
▲
by
fwsgonzo
4y ago
The awful performance you can be stuck with when you can only use emulators and v8 is going to come back to haunt some of you, I believe. It is indeed easy to sell something like this, as it looks easy to work with, the same way that no-cod
372.
▲
by
fwsgonzo
5y ago
That was quite interesting. I learned a lot just by watching that, and it was an incredible improvement at the same time. It just shows that you can greatly improve something if you really set your mind to it.
373.
▲
Transit Buffer Feature in Varnish
(fwsgonzo.medium.com)
1 points
by
fwsgonzo
5y ago
|
0 comments
374.
▲
Rvscript: Fast RISC-V-based scripting back end for game engines
(github.com)
2 points
by
fwsgonzo
5y ago
|
0 comments
375.
▲
by
fwsgonzo
5y ago
mutable is used primarily for memoization: https://en.wikipedia.org/wiki/Memoization
376.
▲
by
fwsgonzo
5y ago
If it's just a binned 12900K without AVX512 then what place does it have? People are better off with AMD Ryzen if you're going to be stuck with AVX2 anyway.
377.
▲
by
fwsgonzo
5y ago
How important is GPU access for game servers?
378.
▲
by
fwsgonzo
5y ago
If you disable JavaScript on the page it reads fine. I have it disabled by default.
379.
▲
by
fwsgonzo
5y ago
Some of those clever loops end up calling memcpy anyway because the compiler deems it to be faster, but yes. For better safety there needs to be bounds checking.
380.
▲
Libriscv: Multiprocessing for Compute Functions
(fwsgonzo.medium.com)
3 points
by
fwsgonzo
5y ago
|
0 comments
381.
▲
by
fwsgonzo
5y ago
Last time I tried to cross compile RISC-V with Rust it just didn't work at all. I even know how linkers work and tried my best with custom linker scripts and arguments, but the toolchain would not build a rv64gc. Perhaps they have fixe
382.
▲
by
fwsgonzo
5y ago
fmt is a must if you can get away with using it. On smaller systems you should try strf, as it produces very small memory footprint and doesn't blow up your binaries. It is 5x smaller than fmt in footprint.
383.
▲
by
fwsgonzo
5y ago
It really isn't. People need to stop making trivial benchmarks and draw ... silly ... conclusions. http://www.eecs.northwestern.edu/~robby/courses/322-2013-spr... It is a fact that C++ exceptions are largely
384.
▲
by
fwsgonzo
5y ago
I wish it had something like a reply counter. I understand that creating and maintaining a notification system is not ideal. But if there is a counter for the number of replies I've gotten, and the number is larger than yesterday, then
385.
▲
by
fwsgonzo
5y ago
There seems to be a lot of guessing by the author. VMs that run on the CPU have the same performance as everyone else, except when you trap into the hypervisor, and especially on buggy CPUs. Now, there are a lot of buggy CPUs out there righ
386.
▲
by
fwsgonzo
5y ago
While I agree, we shouldn't discount one less RTT for encrypted connections. Latency is a problem that never really goes away, and we can only try to reduce RTTs.
387.
▲
by
fwsgonzo
5y ago
Here you go: https://gist.github.com/fwsGonzo/2968cf0bc3364eb1ff0e0500569... Hopefully I did not mess anything up!
388.
▲
by
fwsgonzo
5y ago
$ time ./wasmer fill_buffer.wasm --llvm -i fillBufferWithSIMD 1000 real 0m5,233s It seems to be a 25% longer run-time with LLVM backend. I did not know about that option! Very interesting.
389.
▲
by
fwsgonzo
5y ago
I compared against native: #define ITERATIONS 1000 int main() { const size_t BUFFER_SIZE = 64ul \* 1024 \* 1024; __m128i\* data_buffer = (__m128i *)memalign(64, BUFFER_SIZE); const __m128i all_ones = _mm_set1_epi8(0xFF
390.
▲
by
fwsgonzo
5y ago
I don't know if I'm the right guy to answer this, but I've written a lot of assembly on the side as part of VM and emulation projects. I think the first time I really understood how simple some things can be was when I wrote
More ›