Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ergeysay
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Safe Made Easy Pt.2: Don't Fear the Ref
(ergeysay.github.io)
6 points
by
ergeysay
4mo ago
|
0 comments
2.
▲
Safe Made Easy Pt.1: Single Ownership Is (Not) Optional
(ergeysay.github.io)
9 points
by
ergeysay
4mo ago
|
0 comments
3.
▲
by
ergeysay
2y ago
I found sokuza-kanren [0] to be a wonderful introduction. It starts with the absolute basics and builds into a minimal logic system through a series of well-documented steps. [0] https://github.com/miniKanren/sokuza-kan
4.
▲
by
ergeysay
2y ago
> loops like this are easy for compilers to analyze, in a way that makes them not representative of real code Which makes it a perfectly fine benchmark to measure whether a particular compiler implements these optimisations. The benchmar
5.
▲
by
ergeysay
2y ago
As you said, OpenTelemetry and friends can help. I had great success with these. I am curious, what were implementation issues you have encountered?
6.
▲
Optimizing Interpreters: Fusion
(ergeysay.github.io)
7 points
by
ergeysay
2y ago
|
0 comments
7.
▲
by
ergeysay
3y ago
Curly braces are optional and equivalent to indentation but you have to use semicolons if you use curly braces. The docs are sorely lacking, but there is good test coverage though, so you may refer to tests for examples: https://
8.
▲
by
ergeysay
3y ago
Actually, when I first saw this, I set out to investigate. I managed to reproduce the same performance in an isolated environment and I has been sitting on a post on how this works for quite a time. Hopefully, I will have time to finish it
9.
▲
Dagor Engine: the game engine powering War Thunder
(github.com)
6 points
by
ergeysay
3y ago
|
1 comments
10.
▲
by
ergeysay
3y ago
Could be dynamic frequency scaling. To minimize the impact of it when benchmarking one can pin the process to a single core and warm it up before running the benchmark.
11.
▲
by
ergeysay
3y ago
One more JSON implementation using this approach is https://github.com/zserge/jsmn .
12.
▲
by
ergeysay
3y ago
At this point Haxe or Zig would be far better candidates, but this depends on why Rust was chosen in the first place.
13.
▲
by
ergeysay
4y ago
Not to mention that pure FP completely handwaves away implicit global state such as heap.
14.
▲
by
ergeysay
4y ago
Good question! From the top of my head: non-opionated memory management, nice syntax (and meta-semantics), strongly statically typed, "interpreted with possibility of AOT compilation" execution model and easy and performant native
15.
▲
by
ergeysay
4y ago
I am a non-native speaker. I’ve took an accent training course from a coach, it took about a year. We made a recording before we started and additional records over the length of the course, and I cannot believe how much more pleasant and A
16.
▲
by
ergeysay
4y ago
If you have access to a computer, make a super-simple game with her - just an arcanoid. I had a very bright experience with this, and it can be done in browser DevTools. At first, it’s just a big circle floating in the middle of the screen.
17.
▲
by
ergeysay
5y ago
dmd is the original D compiler, Digital Mars D (Digital Mars being Walter Bright’s company).
18.
▲
The McDonald's Test (2019)
(plough.com)
2 points
by
ergeysay
5y ago
|
1 comments