-
Notifications
You must be signed in to change notification settings - Fork 8
Comparing speed between BetterOCaml, ocaml, ocamlc, ocamlopt and 5 other web apps! #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Naereen
wants to merge
54
commits into
jbdoderlein:master
Choose a base branch
from
Naereen:patch-3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-finished highlight
commentaire ok + gestion des fichiers
Update UI, theme
multiple editor possible, tab de materialize, WIP
bug : update active contant in editor div after delete
TODO : change name after save, open file in new tab
theme mis a jour, nom et sauvegarde des ficheirs ok, exec all avec cooldown
Betterocaml v 1.0
Add a section about using offline, and using WebCatalog
Just a few improvements
Update README.md
Mobile + Service worker Update
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
Update README.md
Just to keep a local back-up: here is the sudoku.ml file for the tiny benchmark: |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 usingocamlopt
.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: