Compiling binaries of bytecode: ever been considered?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling binaries of bytecode: ever been considered?

Christopher Done-2
Hi all,

I was just wondering: has a compiler output mode ever been considered
that would dump bytecode to a file, dynamic link to the ghc runtime,
and then on start-up that program would just interpret the bytecode
like ghci does?

The purpose would be simply faster compile-and-restart times.

Cheers,

Chris
_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: Compiling binaries of bytecode: ever been considered?

Andreas Klebinger
I've heard the idea come up once or twice. But I'm not aware of any
efforts going further than that.



Christopher Done schrieb am 04.11.2019 um 14:59:

> Hi all,
>
> I was just wondering: has a compiler output mode ever been considered
> that would dump bytecode to a file, dynamic link to the ghc runtime,
> and then on start-up that program would just interpret the bytecode
> like ghci does?
>
> The purpose would be simply faster compile-and-restart times.
>
> Cheers,
>
> Chris
> _______________________________________________
> ghc-devs mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Reply | Threaded
Open this post in threaded view
|

Re: Compiling binaries of bytecode: ever been considered?

Brandon Allbery
Lots of people have had such ideas… until they looked at the bco implementation. Consider yourself warned.

On Mon, Nov 4, 2019 at 9:02 AM Andreas Klebinger <[hidden email]> wrote:
I've heard the idea come up once or twice. But I'm not aware of any
efforts going further than that.



Christopher Done schrieb am 04.11.2019 um 14:59:
> Hi all,
>
> I was just wondering: has a compiler output mode ever been considered
> that would dump bytecode to a file, dynamic link to the ghc runtime,
> and then on start-up that program would just interpret the bytecode
> like ghci does?
>
> The purpose would be simply faster compile-and-restart times.
>
> Cheers,
>
> Chris
> _______________________________________________
> ghc-devs mailing list
> [hidden email]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs


--
brandon s allbery kf8nh

_______________________________________________
ghc-devs mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs