Unfriendly Crash
I tried running a program that expected at least one argument, without providing arguments, and got this:
$ ./cljc
GC Warning: Failed to expand heap by -4096 bytes
GC Warning: Failed to expand heap by -4096 bytes
GC Warning: Out of Memory! Heap size: 0 MiB. Returning NULL!
Segmentation fault
Seems a little unfriendly. Perhaps there's a reasonable way to avoid this and do something more elegant instead?
Here's the source (it'll look familiar):
(ns cljc.user)
(defn -main
[arg & args]
(println "Here are your args:")
(flush)
(apply println (cons arg args)))
I'm sorry, I haven't touched this project in years and don't have any time to sink into it right now. If you're interested in maintaining it you have my blessings.
Thanks, I am considering that! Is there much interest in it?
On April 24, 2018 4:30:23 PM EDT, Mark Probst [email protected] wrote:
I'm sorry, I haven't touched this project in years and don't have any time to sink into it right now. If you're interested in maintaining it you have my blessings.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/schani/clojurec/issues/40#issuecomment-384069482
-- http://burleyarch.com/
Not that I know. It would be nice if it built and the basics worked, at least, but to make it useful a LOT of work would have to be done. This is barely an out-of-date proof of concept.
...and yet it's already quite awesome!
Do you have a pointer to notes about the design, what's needed, pet peeved, etc.?
And/or, perhaps we could live-chat about it sometime?
On April 24, 2018 4:44:46 PM EDT, Mark Probst [email protected] wrote:
Not that I know. It would be nice if it built and the basics worked, at least, but to make it useful a LOT of work would have to be done. This is barely an out-of-date proof of concept.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/schani/clojurec/issues/40#issuecomment-384073852
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
I'm happy to chat about it! Shoot me an email at [email protected]