typelead / eta

The Eta Programming Language, a dialect of Haskell on the JVM
https://eta-lang.org
BSD 3-Clause "New" or "Revised" License
2.61k stars 141 forks source link

Feature request: direct support for ccalls (like ghcjs) #966

Open jneira opened 5 years ago

jneira commented 5 years ago

Description

rahulmutt commented 5 years ago

I like the GHCJS approach. It's a bit implicit, but I think it's OK. The only issue I can see is that a lot of times you need to replace Ptr with a Java object and the actual type signatures change. In the other cases it would be OK.