[go-nuts] Code Conversion

2023-11-01 Thread Mandolyte
Does anyone have any experience 
with https://www.codeconvert.ai/typescript-to-golang-converter (or any of 
their other conversion products)?

I'm assessing how big a job it would be to support Djot 
(https://github.com/jgm/djot) with Go. It currently has both Lua and a 
Javascript/Typescript implementations.

Perhaps there other approaches? Any advice welcomed!

As I think about, here are other approaches I might consider:

   - Convert to WASM (and use the new Go WASI support)
   - Use Go Lua interpreter (almost sure there is one (or more))

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/4da3b182-5b35-4b53-96e6-1add636a34e9n%40googlegroups.com.


Re: [go-nuts] Re: Recommended way to distribute pre-compiled C-dependencies for modules using CGO ?

2023-11-01 Thread Jan
Thanks @Jason, but the point was exactly not need to do anything extra: no 
manual unzipping of a file, or manual Makefile/Magefile.

Let's say project in Go links some 30 external modules, 5 of them have 
their own specific steps that need to be read, understood and and run to 
install them ... very quickly the user just gives up from 
installing/compiling the thing, with good reason ... 

The Go toolset solves that beautifully for Go only projects. But at least 
in my line of work, that's not feasible, I need to interface with libraries 
that in turn require other libraries in C++ (OpenXLA/llvm for JIT), Rust 
(HuggingFace Tokenizer), C (Gtk), etc.

cheers




On Monday, October 30, 2023 at 7:42:19 PM UTC+1 Jason E. Aten wrote:

> > including the `.a` (static libraries) in the Github just got to its 
> limit (100Mb)
>
> I have used bzip2 to compress libraries that are too big for Github. If 
> that gets them under the limit, then great. 
> Just provide installation instructions or a Makefile target that 
> decompresses them once checked out.
>
> (Or xz? Apparently it can compress more than bzip2; but I have no 
> experience with it. https://en.wikipedia.org/wiki/XZ_Utils )
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/096e5389-d183-4b2a-bb6b-b136398dc5acn%40googlegroups.com.