Skip to content

Conversation

@Naereen
Copy link
Contributor

@Naereen Naereen commented Feb 28, 2021

I think it's important to mention that using BetterOCaml in-browser toplevel does not mean your code will run very slowly!
It's only about 2x slower than native ocaml toplevel, which itself is only about 5-10x slower (on most reasonable programs) than the native binaries compiled using ocamlopt.

I used this sudoku.ml program, adapted from this Domical proof-of-concept notebook (see @louisabraham/domical).

I also added in a <details>...</details> results mentioning other (not well-known) platforms:

jbdoderlein and others added 24 commits February 15, 2021 20:20
theme mis a jour, nom et sauvegarde des ficheirs ok, exec all avec cooldown
Add a section about using offline, and using WebCatalog
Just a few improvements
Height that work evrywhere : need to fix the last bug (scrollbar take 20px height and destroy the entire height system)
If it work, adjust theme settings and it will be perfect
- Fixed a few typos
- Added a "is maintained" badge
- Added tiny explanations about the author! (just a link to your GItHub profile and contributors page)
- Added and updated explanations about using offline, on smartphone, installing as a PWA etc
@Naereen
Copy link
Contributor Author

Naereen commented Feb 28, 2021

Just to keep a local back-up: here is the sudoku.ml file for the tiny benchmark:
sudoku.ml.txt

@Naereen
Copy link
Contributor Author

Naereen commented Mar 1, 2021

I used Firefox on purpose, and not Chrom(e|ium), as Firefox javascript engine seems to run the js_of_ocaml OCaml toplevel slower than its competitor Chrom(e|ium).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants