Giter Site home page Giter Site logo

ghc-hotswap's People

Contributors

joncoens avatar simonmar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ghc-hotswap's Issues

Reload object by same path failed

When I try to reload shared object by same path as an old one, I got error:

$ cabal run /tmp/1.so
...normal app output...
Next SO to use: /tmp/1.so
ghc-hotswap-demo: ^^ Could not load 'hs_soHandles', dependency unresolved. See top entry above.

I think that the reason is unloading old object after loading a new object. I've made a PR #2 for fix this issue. It works but I don't know maybe it may broke some internal logic or so. I'm not a real haskeller.:)

Is Windows supported?

This sample works great when using Linux. On windows, however, the sample either produces the wrong output or crashes with an access violation. The much longer compile times aside, is Windows principally not supported in this case?

There are some simple examples that work, like providing values of type Int, Int -> Int, Maybe Int, String -> IO String. Just String or Text immediately gives access violations.

Compatibility with only Stack?

I can't seem to pass a flag to cabal or find an equivalent to "enable-library-for-ghci" in the stack options. I'm getting a "not a relocatable object (.o) file" error.

Was wondering if you know a way around this?

Hackage release

Is there a reason the core hotswap stuff here hasn't had a hackage release? I get it's semi-demo code, but it seems to be the only open-source code around to do stuff these days, and it would be nice if the GHC.Hotswap library was directly cabal-installable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.