microsoft / Pyjion

Pyjion - A JIT for Python based upon CoreCLR
MIT License
1.6k stars 129 forks source link

Port Pyjion to NetBSD #149

Open krytarowski opened 8 years ago

krytarowski commented 8 years ago

I'm a volunteer to port Pyjion to NetBSD.

At the moment Visual Studio is a show stopper for me. Is there an open-source way to build VS projects? I might need it to get ported to NetBSD and enable many Microsoft projects natively on NetBSD.

Of course CMake or any other solution would do the trick for this particular project.

brettcannon commented 8 years ago

So two things. One, #76 is open to consider moving off of VS-only builds and switching to CMake. Basically laziness/momentum are the only reasons we are using VS as our only build solution.

Two, I think it's probably too early to worry about porting support to NetBSD (although if you still want to help make the project compile on UNIX OSs then we still welcome the help!). If we can't get the APIs into CPython 3.6 then I don't know what will happen to this project (more than likely we will shut it down). And once we do get the APIs in I don't know if we are going to continue on with use the .NET JIT, try ChakraCore (as discussed in #91 ), or something else entirely as the real key here is proving that the APIs we want to add to CPython make sense. Basically my point is that this is enough of an experiment still that I don't want you do the porting work and be upset if this project gets canned in several months. But if knowing all of this you still want to help, then please do!

krytarowski commented 8 years ago

How about VS on NetBSD? Are all needed pieces open-sourced?

brettcannon commented 8 years ago

No, Visual Studio is not open source.

krytarowski commented 8 years ago

I put catch to pkgsrc. I'm looking forward for jit patch inclusion in CPython upstream.

krytarowski commented 8 years ago

What's the status?

brettcannon commented 8 years ago

I'm not quite sure what "status" you're referring to. If you mean the project overall then it's still under development. If you mean being able to run under NetBSD then as I mentioned previously you need to follow #76 to get updates (for which there aren't any).

choikwa commented 8 years ago

There aren't that many files under Pyjion and both Python, CoreCLR support building cross platform..

brettcannon commented 8 years ago

@choikwa as stated in https://github.com/Microsoft/Pyjion#are-you-going-to-support-os-x-andor-linux , there is no technological reason we can't build on other platforms, it's just we are busy w/ trying to get performance up rather than getting xplat builds working (although we're happy to consider patches to make that possible).

krytarowski commented 8 years ago

by status I mean:

  1. upstream JIT support to CPython
  2. Makefile/CMakefile or similar build approach alternatively make VS usable on NetBSD :-)