-
Notifications
You must be signed in to change notification settings - Fork 0
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
Size #1
Comments
In the meantime, SICStus no longer offers the 32-bit implementation for Linux. The only good reason why I liked 32-bit implementations (some time ago) was that they could not use so much memory and were better for testing overflow handling producing resource_error/1, my specialty. As for the atom table capacity, I hope that Scryer will fix partial strings (voir mthom#1714) , and then, atoms are practically never needed. Is speed really that important, that you are willing to trade it for space? BTW, which implementation are you using that shows |
Speed is nice but I'm more thinking of an embedded environment or game (where lua is used). I don't use that much memory in Prolog and I don't know how big the dataset used in Prolog are. But I'm also intrigued by the question of whether it would be very fast and/or could be useful. For text processing it wouldn't be useful since there are 1114112 Unicode code point (that many atoms of length 1). But I don't know for the heap limitation how it would limit its usage.
The implementation doesn't exist but it's what would have happen. |
And why not error/2, to make it a tiny bit more readable? (And offering a corresponding definition for it) |
It's the toplevel and I'm not there yet. |
error/2 would be a predicate in a library. |
Hello @UWN, what do you think of an implementation of Prolog such that:
Is the implementation too limited? Are there implementations with similar limitations?
What I really want to know is if extremely small implementations are faster than "normal" implementations? I'm assuming they are using the same techniques.
SWI-Prolog is an example where it's possible to compare 32 bits version and 64 bits version. I would like to find other implementations.
The text was updated successfully, but these errors were encountered: