testcross
some real problems with jsoo are (non exhaustive list)
- "heavy" FFI (both in term of setup and syntax)
- the output is a big single .js file, which doesn't allow reloading of a single component and doesn't integrate well with stuff like webpack
- slower compilation time
- lacking documentation for the javascript audience
stockfish finished +9 over 100 games.
I don't have any stock in those 2 engines, so I don't care which one is better than the other. At the end as a poor chess player it won't change anything :) It's actually interesting to compare how those two software are evolving and how they got here.
Stockfish is much older. And it took it a lot of hand tuning to reach its current level. It is (or was) full of carefully tested heuristic to give a direction to the computation. It would be very difficult to build an engine like stockfish in a short span.
Leela got there very very quickly. Even if it was not able to win in October, the fact that it got competitive and forced the field to adopt drastic changes in such a short period of time is impressive. It seems to be a good example of how sometimes no using the "best" solution could still be a win. Getting good results after a few months against something that required 10 years of work.
To have code that you can compile to both native and js, the easiest thing is to stick to the ocaml syntax. It is supported by all the versions of the compiler (rescript or ocaml). And to also use the ocaml syntax for the tools doing code generation, such as atdgen.
It probably explain why fb dedicates so little resources to reason too.
OCaml User Survey 2020 Results
Compiler for the M language of the French DGFiP
State of the Shell: PowerShell7
From rescript to JS_of_OCaml, a case study with vscode-OCaml-platform
Teardown of the Singaporean Covid-19 TraceTogether Token
Diffwhat: List all functions affected by code changed in a commit
An in-depth look at OCaml’s new “best-fit” garbage collector strategy
Animal Crossing Tune Maker
Procedural World Generation of Ubisoft’s Far Cry 5
Quick Reference and Starter Exercises for Learning Coq
Paredit/smartparens for all languages and editors using tree-sitter?
There was a recent post on /r/emacs about bindings to tree-sitter: https://www.reddit.com/r/emacs/comments/chnxzm/dynamic_module_binding_for_treesitter_an/I don't know all the internals and features of tree-sitter, but I wonder if it could be used to create a paredit or smartparens mode which would work on all languages and respect their semantic. Ideally it wouldn't even have to be emacs...