564 karma · joined March 29, 2013
V8 is a huge project and ports almost have to start from backends of existing architectures. Over time we (I recently worked on the RISC-V port) improve the situation.
Note that it's also crucial to stay somehow similar to the x86 and ARM backends as the V8 team frequently makes changes to these and keeping up with them would be a nightmare if the RISC-V backend was too different.
"Does no one at Google know RISC-V" This work wasn't done by Google. Also, you don't hire RISC-V experts, but V8 experts (or other similar VMs) for such a port. I, for example, had never worked with RISC-V before. As such, it can happen that some code of the RISC-V backend is written by engineers that aren't yet experts in RISC-V.
When I published Grisu (Google double-conversion), it was multiple times faster than the existing algorithms. I knew that there was still room for improvement, but I was at most expecting a factor 2 or so. Six times faster is really impressive.
Its maintainer now requests $1000 for approval of PRs.
Here is an example where they reject a small PR to add loongarch64 support from individual contributor: https://github.com/shibatch/sleef/pull/672
We found that Python isn't really designed for constrained environments. The object model, in particular, makes it hard to have fast method calls. The memory layout is also affected by the language, leading to bigger objects and a worse GC.
If you are just running a small hello world, or a number crunching loop, then both languages behave similarly. However, if you actually want to run something more consequential in production you will have an easier time with Toit.
Currently it's only targeting the ESP32 family, but the code is pretty portable. By default, it probably also needs more resources due to OS-like abstractions, allowing for multiple containers to run on parallel, etc. Obviously that also brings some nice advantages. For example, installing or updating, a new container is just a few lines of code.
We have been working on it for more than 5 years now, and it's definitely at a stage where lots of projects would benefit from it.
I have been living in Denmark for 15 years now, and it's still easier to do conversations in English. When I speak Danish it requires more mental capacity from the other side.
I am speaking Danish from time to time, but it's only to get better at it. The English proficiency in Denmark (and probably the Netherlands) is so high that you need to be really good at the native tongue before it is easier than English in conversations.
Timezones are fun...
- "go to your happy place", or "imagine you are on an island..."
- counting sheep to fall asleep. I just couldn't visualize them.
In bash: alt-. copies the last argument of the previous command (history).
I wrote lots of easy to follow tutorials there.
It depends a lot on the sensors you have. That said, even without any (or few) sensor(s) you can still have fun with network related applications like a Telegram bot.
"A 5-feet tall monster ...". As a reader I have no idea if that's big or small.
I have tried the following (mostly European):
- Soylent: the original (first). Ok, but not my favorite.
- Mana: I like their powder version (more than the drinks). Especially good with some bread sticks.
- Bertrand.bio: tastes very much like cereals. Pretty good.
- Jake food: one of my friend's favorite. I prefer others.
Thanks to solar Germany is mostly in the middle of the pack right now.
Here is, for example, the page of my current provider: https://www.ok.dk/privat/produkter/el/priser
This page doesn't yet include the additional costs (last mile...), but there is definitely a big difference whether I consume the energy at cheap or expensive hours.
Three days ago, in Denmark, prices went as low as -41.37Eur/MWh (where 100Eur/MWh is a common price otherwise).
https://www.nordpoolgroup.com/en/Market-data1/Dayahead/Area-...
At the moment electricity is cheapest (and therefore greenest) in the afternoon. Probably because of solar (partially from Germany).
https://app.electricitymaps.com/zone/DE
It's also great to see how much green energy Spain got recently.
Supports Telegram and Discord.