HNHacker News
TopNewBestAskShowJobs

tsavola

54 karma · joined June 10, 2015

https://savo.la

[ my public key: https://keybase.io/tsavola; my proof: https://keybase.io/tsavola/sigs/Q5p9jJMjl9XKeKqdBkPAAICi6aYI0InUB4l4cQWH8Tw ]

submissionscomments
tsavola··on Colosseum – A quick overview of the most powerful RF emulator
I was hoping that this was about the historic building, having some interesting properties. :(
tsavola··on How Rust 1.64 became faster on Windows
Consider error handling paths.
tsavola··on Welcome to 'Le Monde' in English
How about LeMon.de in German?
tsavola··on Spin – WebAssembly Framework
Heh, in 2017 I was writing a C++ framework to use with my custom Wasm runtime (Gate). It was also called Spin. However, I abandoned the work as Rust's Wasm support improved.

I don't remember how I came up with the name - perhaps the "in" was for interface.

tsavola··on Userfaultfd – Create a file descriptor for handling page faults in user space
Do you have a link or can you suggest search terms for an example? I can't imagine that being useful, as you have to wrap around at some point anyway.
tsavola··on Bash PS1 Generator
Always having https removes the need to consider the security implications of unencrypted transport on case-by-case basis.

I have been using HTTPS Everywhere extension and currently Firefox's HTTPS-Only feature in strict mode for a long time. Nowadays few links fail to work for me, so the failing ones stand out.

tsavola··on Bash PS1 Generator
No https.
tsavola··on Demoscene, the secret behind Finnish game industry
Is that a guess?
tsavola··on Add '127.0.0.1 xn–9q8h' to /etc/hosts gives you "localghost"
Do you mean Punycode, or this joke?
tsavola··on Introduction to Gate
I've envisioned Gate's network resource abstractions to work at a higher level, using symbolic references (such as URLs) and message-oriented protocols rather than keeping TCP connections alive. It's not ideal, but decouples the program from the environment - which is the goal.
tsavola··on Go Creeping In
Please elaborate.
tsavola··on Cloudflare Workers Recipe Exchange
The title is misleading if one doesn't know that Cloudflare Workers are a thing. I honestly thought that it was about Cloudflare employees sharing food recipes with each other.
tsavola··on How to Use Go Interfaces
The distinction is that you don't first declare a few all-encompassing interfaces and then their concrete implementations, but piecemeal interfaces for each API that takes those implementations - only the bits of the interface that the API in question needs.

That makes it actually even easier to do unit testing, because for a narrow test you don't need to implement irrelevant methods.

tsavola··on Why Is SQLite Coded in C? (2017)
I suspect Go will never be an ideal choice for creating libraries which are supposed to be used from any programming language. Even while the C-compatible-library-story of Go is developing (which is great), it brings runtime machinery that just isn't there with languages like C, C++ (especially with exceptions disabled) and Rust.
tsavola··on Firefox’s new streaming and tiering compiler
Yes, it's possible. No, the last block won't change the semantics of the first.
tsavola··on Dear Postgres
PostgreSQL gets so much love due to its exceptional quality.

Perhaps MariaDB is not of exceptional quality.

tsavola··on Nuitka: a Python compiler
Which one?
tsavola··on WebAssembly Browser Preview
Here's mine (although it's not an interpreter): https://github.com/tsavola/wag
tsavola··on How to C in 2016
AFAIK the bulk of link time optimization happens in the linker. The parallelizable compiler invocations just store extra information in the object files.

The linker invocation is a single make job, which is the unit of make -j parallelism.

tsavola··on How to C in 2016
> LTO fixes the "source analysis and optimization across compilation units problem" by annotating object files with intermediate representation so source-aware optimizations can be carried out across compilation units at link time (this slows down the linking process noticeably, but make -j helps).

make -j doesn't help linking speed, unless multiple binaries are begin built.

tsavola··on Go-style concurrency in C
Can it take advantage of GCC's split stack support? https://gcc.gnu.org/wiki/SplitStacks
tsavola··on The Amazing Disappearing BSD License (2005)
The 1-Clause BSD License seems to be similar to the Boost Software License (http://opensource.org/licenses/BSL-1.0). I think it's a pretty good fit for foundation libraries.
tsavola··on National IPv6 launch day in Finland
That's what I was afraid of...
tsavola··on National IPv6 launch day in Finland
When you create an AAAA alias record in Route 53 and point it to a VPC load balancer, it gives out an IPv6 address. It does only mention A record in the load balancer description's DNS Name field, so I don't know what to make of it.