Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fwsgonzo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
301.
▲
by
fwsgonzo
4y ago
Yeah, I think it's meant to connect to a hub. Both sides charge which is something I really like. You are right though, very few ports.
302.
▲
by
fwsgonzo
4y ago
That's very strange and unfortunate. I haven't rebooted it in a while and I use it every day. So far it's just been a really good laptop. Maybe you can send it back and get a new one?
303.
▲
by
fwsgonzo
4y ago
Nobody has tried the Lenovo Z13? I have one and it's way better than the ThinkPad I had before. It does get warm, and you can't play games on it, but it feels more premium and has a stronger CPU.
304.
▲
by
fwsgonzo
4y ago
Merry Christmas! Happy Holidays! I hope for an interesting 2023 with lots of cool stuff. I wish for more Show HN and technical articles. :)
305.
▲
by
fwsgonzo
4y ago
Greatly looking forward to experimenting with zero-overhead interop, as that is a pre-requisite for using it as a configuration language for certain types of high-performance servers
306.
▲
Time-to-First-Instruction
(fwsgonzo.medium.com)
2 points
by
fwsgonzo
4y ago
|
0 comments
307.
▲
Time-to-First-Instruction
(fwsgonzo.medium.com)
1 points
by
fwsgonzo
4y ago
|
0 comments
308.
▲
by
fwsgonzo
4y ago
This is so amazing and inspiring. I was actually sitting down lately and thinking about what my next project is, as I've been working on a few other projects for a few years now, but nothing that will make any money. I think it could b
309.
▲
Using C++ as a scripting language, part 6
(fwsgonzo.medium.com)
2 points
by
fwsgonzo
4y ago
|
0 comments
310.
▲
by
fwsgonzo
4y ago
You can send him an e-mail and get an extended license. Not saying he's right or wrong, but it's not like anyone lost their access, or future updates of the product here.
311.
▲
by
fwsgonzo
4y ago
That's unfortunate. I wrote a VMM that tries to back memory with hugepages (even the guests page tables). It's making a difference!
312.
▲
by
fwsgonzo
4y ago
It also slightly annoys me a bit the things JIT people write on their github READMEs about the incredibly theoretical improvements that can happen at runtime, yet it's never anywhere close to AOT compilation. Then you can add 2-3x on t
313.
▲
Using C++ as a scripting language, part 6
(fwsgonzo.medium.com)
2 points
by
fwsgonzo
4y ago
|
0 comments
314.
▲
by
fwsgonzo
4y ago
For me Go is unique in that it can produce a fully static binary that can fetch from a HTTPS endpoint. It also supports many architectures. On top of that the package system and it's just way more convenient to use than other languages
315.
▲
Using C++ as a scripting language, part 5
(fwsgonzo.medium.com)
1 points
by
fwsgonzo
4y ago
|
0 comments
316.
▲
by
fwsgonzo
4y ago
A fun fact about integer division is that on x86 dividing by zero is CPU exception 0. Except, it's not just for dividing by zero, it's whenever a division is impossible to perform. So, for example what happens if you divide -1 by
317.
▲
by
fwsgonzo
4y ago
That is very cool, and it's going to help me alot on old RHELs I think. Looks like it was actually very complicated to make!
318.
▲
by
fwsgonzo
4y ago
I don't think a server-side sandbox makes sense for anything that is JIT-based (or even binary translation). We already have KVM which is actual native performance, and it can run anything you would ever want, and then some. WASM is by
319.
▲
by
fwsgonzo
4y ago
I actually measured it. It was around 65-85ns for Lua and 55ns for LuaJIT (on a 7950X). It adds up every time you make a call, despite looking like a small value. Of course, you can multiply it by 2-5x when you put it in production.A decent
320.
▲
by
fwsgonzo
4y ago
I have been working on this too, and while I am not at all interested in embedding LLVM, the lack of calling conventions and lack of ability t make a direct jump is unfortunate. My biggest pet peeve though is the inability to push unlikely
321.
▲
by
fwsgonzo
4y ago
There is a doom emulation demo here now: https://github.com/fwsGonzo/libriscv/tree/master/emulator/do... You will need to add the shareware doom1.wad yourself. :)
322.
▲
by
fwsgonzo
4y ago
Yes, I used Spike quite a bit in the beginning. I also compared with my own instruction logging with objdump -drl program | less. These days I have a decent test suite. I verify Go and Zig hello worlds (both running through a surprising amo
323.
▲
by
fwsgonzo
4y ago
There are many places it would be OK to use it. Anywhere where you have extreme requirements on low latency, which I like to call ultra-low-latency, like a high-performance daemon. You can fork this emulator from another and execute the fir
324.
▲
by
fwsgonzo
4y ago
Maybe a few months from now it may be able to run Linux as well. I had painted myself into a corner by processing execute segments in order to get more speed. However, I have currently found ways to have many execute segments, and before th
325.
▲
Show HN: C++17 RISC-V RV32/64/128 userspace emulator library
(github.com)
5 points
by
fwsgonzo
4y ago
|
0 comments
326.
▲
Show HN: Libriscv – RISC-V userspace emulator library
(github.com)
40 points
by
fwsgonzo
4y ago
|
8 comments
327.
▲
by
fwsgonzo
4y ago
It's actually kind of soul sucking bad, and I have trouble coming to terms with that "this is just how it is now." I really do feel for those without a decent network.
328.
▲
by
fwsgonzo
4y ago
Nope, just scareware. Use NoScript in browser, enable a firewall (eg. firewalld) and don't preview attachments in e-mails from unknown senders (unless your mail-provider provides proxy previews the attachments). Oh, and no reusing pass
329.
▲
by
fwsgonzo
4y ago
I have recently tried to run more complicated programs in my RISC-V userspace emulator, and I have actually had more or less the same problems as you. I do miss Nim though. Nim does have a package manager (nimble), but it does lack some imp
330.
▲
by
fwsgonzo
4y ago
It's the same everywhere, sadly. Seems like a natural rule at this point for right-wing governments trashing public services. It's the same in my country.
More ›