Skip to content

Releases: trealla-prolog/go

fs.FS support

20 Jul 11:13
727c3fe
Compare
Choose a tag to compare

Thanks to wazero, we can use the Go standard library fs.FS filesystem abstraction. This lets us work with filesystems with much greater flexibility, no longer being bound to the real OS filesystem.

  • Add WithMapFS option
  • Change the semantics of WithPreopenDir to map to virtual / always, which is probably what it was trying to do before.

Now with wazero

20 Jul 08:52
a45b8d1
Compare
Choose a tag to compare

This release changes the WebAssembly engine to wazero, a pure Go wasm runtime. Now cgo is no longer required! It should be a lot easier to cross-compile this library now.
Thanks to @ncruces for porting it.

It looks like wasmtime is still a smidge faster for certain things. If anyone is interested in support for both, please make an issue. It probably wouldn't be too hard to accommodate a choice of runtimes. However, it's still quite good. Small queries are actually faster now (due to less overhead?). This also opens up the path to better integration with Go.

What's Changed

New Contributors

Full Changelog: v0.16.7...v0.17.0

Update trealla + wasmtime

18 Jul 07:00
29e81bd
Compare
Choose a tag to compare
v0.16.7

update trealla + wasmtime

Update Trealla

03 Jul 07:04
85dcc00
Compare
Choose a tag to compare
v0.16.6

update trealla

Update wasmtime + trealla

01 Jul 15:46
f4653bc
Compare
Choose a tag to compare
v0.16.5

update wasmtime-go and trealla

Update Trealla

22 Jun 17:24
946ab99
Compare
Choose a tag to compare
v0.16.3

update trealla

Update Trealla

21 Jun 07:55
071b97f
Compare
Choose a tag to compare
v0.16.2

update trealla

Update Trealla

18 Jun 17:41
439321d
Compare
Choose a tag to compare
v0.16.1

update trealla

Tweak http_consult/1

15 Jun 22:12
eaa5459
Compare
Choose a tag to compare
  • http_consult/1 can take a module name in the form of Module:URL to specify which module to consult into
  • Update Trealla

v0.15.62

05 Jun 06:31
3795c79
Compare
Choose a tag to compare
  • Host/guest communication a little bit more efficient now
  • Update Trealla