Preferences

floitsch
Joined 528 karma
I worked on Dart. Now developing Toit.

  1. Pretty impressive.

    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.

  2. Sleef is a SIMD library that is often used (transitively) when working with LLMs.

    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

  3. If they can get the data without a user's consent, then it's independent of this new feature and thus unrelated. If you believe that the government has unlimited access, then it was most likely already possible before this feature. Now, there is at least a "proper" way to give law enforcement access.
  4. In that case they don't need consent anyway and it's not about this new feature.
  5. Speed and reliability.

    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.

  6. A similar project: https://toitlang.org (or https://toit.io).

    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.

  7. You will improve your language skills this way, but if your skill level isn't high enough it's going to be exhausting to the native speaker as well.

    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.

  8. Balcony solar requires the 50Hz of the energy grid. If you turn off the main power they will stop feeding into the system.
  9. I implemented `DateTime` in Dart and Toit and wrote a blog post about the things I noticed: https://medium.com/@florian_32814/date-time-526a4f86badb

    Timezones are fun...

  10. The other ones for me:

    - "go to your happy place", or "imagine you are on an island..."

    - counting sheep to fall asleep. I just couldn't visualize them.

  11. I have aphantasia, and I don't feel handicapped at all. The only thing where I really notice differences is when trying to describe people. Since I can't visualize them in my head, I can only describe "known facts", like "they have brown hair". I would make a lousy crime witness...
  12. I used this technique to send data from the cell-phone to an ESP32 using the phone's flashlight: https://www.reddit.com/r/esp32/comments/wfea4r/send_data_wit...

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal