[ANN] gijit, an interactive Go environment, backed by LuaJIT

34 views
Skip to first unread message

Jason Aten

unread,
Feb 7, 2018, 11:31:21 PM2/7/18
to gonum-dev
I've long wanted an interactive Go for data analysis. One that could also call native Go libraries and C libraries easily.

I got tired of waiting for one. So I built gijit.  LuaJIT, the backend, can even inline calls into native C libs.


gijit v0.9.4 feature summary:

  • interactively code in Go. Just-in-time for Valentine's Day, a Go REPL that is not based on re-compiling everything after every line.

  • the ability to import binary Go packages. Call into native Go code from the REPL.

  • use Go as a calculator. Just start the line with '='.

  • structs, interfaces, pointers, defer are all available.

  • current limitation: no go/select/chan implementation.

  • portable. Doesn't depend on Go's linux-only plugin system. We run on OSX and Linux.

Theoretically, gijit should build on Windows, since both Go and LuaJIT are regularly used on Windows. I don't have resources to confirm this and figure out the right build flags. (See https://github.com/gijit/gi/issues/18 if you do.)


Enjoy,


Jason

Brendan Tracey

unread,
Feb 8, 2018, 5:27:35 AM2/8/18
to Jason Aten, gonum-dev
Looks interesting! It’s great to see all of the efforts developing around interactive Go. 

--
You received this message because you are subscribed to the Google Groups "gonum-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gonum-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages