Is writing "pure" Haskell to be hosted in a non-Haskell imperative environment a common thing to do, as opposed to separating the pure and the imperative via monads? Seems to me that Frege could make this quite attractive.
I fail to understand the question. Isn't hosting "pure" Haskell code in an imperative modern OS environment a common thing to do?
Frege – a Haskell for the JVM
11–20 of 51 posts
Re: Frege – a Haskell for the JVM
#12One of the weaknesses of Clojure on the JVM is its ridiculously long startup time. How fast does Frege start up on the JVM?
Here is an example:
ingo@freguntu:~/Frege/frege$ time java -jar fregec.jar -version
3.23.900
0:00.22 62016k
ingo@freguntu:~/Frege/frege$ ls -l fregec.jar -rw------- 1 ingo ingo 33426802 Mär 6 12:32 fregec.jarRe: Frege – a Haskell for the JVM
#13One of the weaknesses of Clojure on the JVM is its ridiculously long startup time. How fast does Frege start up on the JVM?
It's okay, at least when you have SSD or at least decent RAM. Here is an example: ingo@freguntu:~/Frege/frege$ time java -jar fregec.jar -version 3.23.900 0:00.22 62016k ingo@freguntu:~/Frege/frege$ ls -l fregec.jar -rw------- 1 ingo ingo 33426802 Mär 6 12:32 fregec.jar
Re: Frege – a Haskell for the JVM
#14Earlier quoted context omitted.
I fail to understand the question. Isn't hosting "pure" Haskell code in an imperative modern OS environment a common thing to do?
I mean leaving IO to a program to which the (pure-only) Haskell code is linked, dispensing with monad-based separation. Frege seems to make this particularly easy.
Re: Frege – a Haskell for the JVM
#15Re: Frege – a Haskell for the JVM
#16Earlier quoted context omitted.
It's okay, at least when you have SSD or at least decent RAM. Here is an example: ingo@freguntu:~/Frege/frege$ time java -jar fregec.jar -version 3.23.900 0:00.22 62016k ingo@freguntu:~/Frege/frege$ ls -l fregec.jar -rw------- 1 ingo ingo 33426802 Mär 6 12:32 fregec.jar
22 milliseconds? Unless I'm mistaken that's blazing fast?
It's still too slow for serious command-line utils, though, so you're back to Haskell.
Re: Frege – a Haskell for the JVM
#17One of the weaknesses of Clojure on the JVM is its ridiculously long startup time. How fast does Frege start up on the JVM?
It's okay, at least when you have SSD or at least decent RAM. Here is an example: ingo@freguntu:~/Frege/frege$ time java -jar fregec.jar -version 3.23.900 0:00.22 62016k ingo@freguntu:~/Frege/frege$ ls -l fregec.jar -rw------- 1 ingo ingo 33426802 Mär 6 12:32 fregec.jar
The complaint about Clojure is that Clojure apps start slow. Frege compiles to Java and from there to bytecode, so you'd need to compare a hello world in both languages to answer the original question, I think.
Re: Frege – a Haskell for the JVM
#18One of the weaknesses of Clojure on the JVM is its ridiculously long startup time. How fast does Frege start up on the JVM?
Re: Frege – a Haskell for the JVM
#19http://stackoverflow.com/questions/17222383/how-to-run-frege...
http://stackoverflow.com/questions/5151858/running-a-haskell...
Re: Frege – a Haskell for the JVM
#20One of the weaknesses of Clojure on the JVM is its ridiculously long startup time. How fast does Frege start up on the JVM?