quickjs icon indicating copy to clipboard operation
quickjs copied to clipboard

Add native windows support (not MinGW)

Open ethindp opened this issue 1 year ago • 2 comments

I'm not sure how feasible this would be, but it would be great to add non MinGW support (using MSVC or any windows compiler). I'd be happy to also see about converting the build system to something like Meson if only to make this easier. Problem is that the codebase is huge in terms of LoC, so I'm uncertain how to do this on my own. Would this be feasible?

ethindp avatar Aug 22 '24 00:08 ethindp

From what I understand, there are some talks about trying to converge with the QuickJS-NG “friendly fork” in the future. (Reference: https://github.com/quickjs-ng/quickjs/issues/374 ) - That fork already has addressed MSVC compatibility (including the build system, using CMake), which would presumably be utilized.

past-due avatar Aug 22 '24 02:08 past-due

Ah, okay, I didn't know about this fork. I'll be primarily using quickjs through choc, at least, assuming I don't need to call into the lower-level C API to do something. I would go with duktape but duktape hasn't had a release in a few years, and v8 is absolutely massive and I don't see a way of using it that would let me use it with my build system at all. Plus quickjs is nice and small which is great.

ethindp avatar Aug 22 '24 06:08 ethindp