Better HN
topnewbestaskshowjobs
Log inSign up

testcross

939 karma · joined Nov 8, 2012 (14y ago) · 149 submissions

Submissions

comment 3y ago · link · parent

on any decent size application the output of bucklescript/rescript/melange is also unreadable. I never understood that argument.

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

comment 5y ago · link · parent

https://en.wikipedia.org/wiki/TCEC_Season_19

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.

3.

The implementation of functional programming languages(microsoft.com ↗)

1 points · by testcross · 5y ago · discuss

comment 5y ago · link · parent

Actually stockfish crushed leela in recent TCEC. It seems that the new neural network of stockfish had a huge effect on the performances. Something like a 130 ELO improvement.

comment 5y ago · link · parent

I don’t see how there’s a biased intent. I’ve no shares in any tech. If anything I wish for rescript to be a big success given how much the company I am in relies on it. I’ve contributed to multiple bucklescript projects. And I’m not criticising the decisions of anyone.

comment 5y ago · link · parent

well sorry if this isn't true, but I haven't insulted anyone. If I get those feedback and they are incorrect, I hope that you can provide my insightful ones to clear the situation.

comment 5y ago · link · parent

Btw for people who want to use js_of_ocaml instead of rescript but still like react, there is https://github.com/jchavarri/jsoo-react. It's obviously not as polished. But it's interesting to see how much work it requires to bind a large lib like react.

comment 5y ago · link · parent

I feel like the dev team is using "readable output" to mean both "human-readable" and "shared data types" depending on the situation. And it creates a lot of confusion.

comment 5y ago · link · parent

actually bucklescript has never really been used at bloomberg. And bob left bloomberg a long time ago. So this fork is definitely not happening because of bloomberg.

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.

comment 5y ago · link · parent

from what I heard, they use typescript instead of reason for some time already. I don't know if they use react or not. I also heard that they weren't always using reasonreact even when they were using reason. So they've never been 100% on the same stack than what was advertised by the reason team.

It probably explain why fb dedicates so little resources to reason too.

comment 5y ago · link · parent

from the feedback I got, they migrated to something else

comment 5y ago · link · parent

actually I think that it is basically not used inside facebook anymore. But it is used in a bunch of other companies.

comment 5y ago · link · parent

the author wasn't aware of angstrom or other alternatives.

https://discuss.ocaml.org/t/ann-reparse-2-0-0/6868/5

14.

OCaml User Survey 2020 Results(dropbox.com ↗)

88 points · by testcross · 5y ago · 14 comments

comment 6y ago · link · parent

The author explains what were the challenging bits in this thread (in french): https://twitter.com/DMerigoux/status/1314531302079688709

16.

Compiler for the M language of the French DGFiP(gitlab.inria.fr ↗)

208 points · by testcross · 6y ago · 63 comments

17.

State of the Shell: PowerShell7(janestreet.com ↗)

1 points · by testcross · 6y ago · discuss

18.

From rescript to JS_of_OCaml, a case study with vscode-OCaml-platform(github.com ↗)

2 points · by testcross · 6y ago · discuss

comment 6y ago · link · parent

https://xobs.io/trace-together-token-teardown/ has more details

20.

Teardown of the Singaporean Covid-19 TraceTogether Token(hackaday.com ↗)

1 points · by testcross · 6y ago · 1 comment

21.

Diffwhat: List all functions affected by code changed in a commit(github.com ↗)

1 points · by testcross · 6y ago · discuss

22.

An in-depth look at OCaml’s new “best-fit” garbage collector strategy(ocamlpro.com ↗)

176 points · by testcross · 6y ago · 41 comments

23.

Animal Crossing Tune Maker(ac-tune-maker.aikats.us ↗)

2 points · by testcross · 6y ago · discuss

24.

Procedural World Generation of Ubisoft’s Far Cry 5(youtube.com ↗)

1 points · by testcross · 7y ago · discuss

25.

Quick Reference and Starter Exercises for Learning Coq(github.com ↗)

2 points · by testcross · 7y ago · discuss

26.

Paredit/smartparens for all languages and editors using tree-sitter?

1 points · by testcross · 7y ago · discuss

27.

Diablo 1 running in the browser, thanks to WebAssembly(github.com ↗)

1 points · by testcross · 7y ago · discuss

28.

The OCaml MOOC is back for a fourth edition(fun-mooc.fr ↗)

3 points · by testcross · 7y ago · discuss

29.

Poor Man's Allocation Profiler(sympa.inria.fr ↗)

2 points · by testcross · 7y ago · discuss

12345