inline-java
Haskell/Java interop via inline Java code in Haskell modules. (by tweag)
inline-c
By fpco
Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- Revelo Payroll - Free Global Payroll designed for tech teams
- SonarQube - Static code analysis for 29 languages.
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
inline-java | inline-c | |
---|---|---|
2 | 4 | |
229 | 273 | |
0.0% | 0.4% | |
0.0 | 0.0 | |
3 months ago | 9 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
inline-java
Posts with mentions or reviews of inline-java.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-30.
-
Ecosystem: Haskell vs JVM (Eta, Frege)
Also, inline-java
If you want to interact with Java libraries, but don't need the Haskell program itself to run on the JVM, inline-java is probably your best bet at the moment.
inline-c
Posts with mentions or reviews of inline-c.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-12.
-
Help needed for FFI (presumable segmentation fault)
Check out https://github.com/fpco/inline-c
-
Will I suffer attempting to use Haskell in a company that mainly uses c++
Learn inline-c and inline-c-cpp really well. You will feel enabled if you can call the power of C++ from Haskell. You can find some examples in the opencv package.
-
Passing a Haskell object over to a C++ program
As mentioned by /u/0xab inline-c can also do C++ and is the solution for low-level interop with C++. Its C++ support was made for the opencv binding, and in contrast to normal FFI, it allows you to use templated code and so on, splicing Haskell variables in via TH quasiquoters/antiquoters.
I've done this many times for huge projects like binding to PyTorch and Godot. Declare the structures that will hold the data in C and write to them from Haskell. https://github.com/fpco/inline-c is absolutely the way to go.
What are some alternatives?
When comparing inline-java and inline-c you can also consider the following projects:
dhall-check - Check all the .dh files in a directory against a given type signature
bumper - Haskell tool to automatically bump package versions transitively.
shuffle - Shuffle tool used by UHC (Utrecht Haskell Compiler)
inline-c-cpp
castle - A tool to manage shared cabal-install sandboxes.
bliplib - A bytecode compiler for Python 3
clone-all - clone all the github repositories of a particular user.
hpp - hpp - A Haskell Preprocessor
grm - grm grammar converter