Integration with .NET
IronPython is built on top of the .NET framework, allowing seamless integration with .NET libraries and tools. This is beneficial for developers who work in a .NET environment and want to use Python alongside other .NET languages like C#.
Performance
IronPython can be faster than CPython for certain tasks due to its JIT (Just-In-Time) compilation feature built into the .NET framework. This can lead to performance improvements for specific applications.
Strong Typing
Being part of the .NET ecosystem, IronPython can leverage the strong typing capabilities of .NET, which can lead to more reliable code, easier maintenance, and better tooling support through Visual Studio.
Cross-language Interoperability
IronPython allows for easy interoperability between Python and other .NET languages, making it easier to build applications that might require features from multiple languages.
I think of IronPython and IronRuby and IronScheme, early attempts at Microsoft trying to combine cornmeal with .NET and open source and calling it a burrito.- Source: Hacker News / about 1 month agohttps://ironpython.net/.
If you're interested in learning more about the challenges and tradeoffs, both Jython (https://www.jython.org/) and IronPython (https://ironpython.net/) have been around for a long time and there's a lot of reading material on that subject. - Source: Hacker News / over 1 year ago
There are several ways of bypassing the GIL. First of all, the GIL is only present in the C implementation of Python, CPython. Other implementations of Python like Jython, IronPython, and PyPy don't have the GIL. Additionally, Python provides the multiprocessing library, which allows for parallelism in your Python program. - Source: dev.to / over 1 year ago
I am not set on .NET, but just curious, so thanks for the suggestions. Interesting that it's billed as cross-plaform, but doesn't do it that well. I just searched 'python wrapper for .net' and found PythonNET. Also, it seems yes IronPython is active. Source: about 2 years ago
There are quite a lot of ways to run scripting languages in C#. I've no idea what JSR223 is but .NET has DLR for example. There are also multiple libraries: IronPython, NLua, Jint and Jurassic for Javascript. There's also older version of CS-Script working with .NET Framework. Source: over 2 years ago
If you need control over how the script runs, access to variables etc, I can highly recommend IronPython, but it might be overkill for what you need. Source: over 2 years ago
(3) Thirdly, there are so many technologies out there that would make Python being an interpreted language a complete non-issue. For example, Iron Python compiles Python to .Net bytecode, essentially meaning, your compiled Python has the potential to be as fast as comparable Dot Net code, Jython (a comparable library built for the JVM), and Transpyle, a transpiler that can convert Python code to comparable C/C++... Source: over 2 years ago
I've no idea what op meant, but I am aware that there's ironpython for dotnet, analogous to jython for the jvm. Never used it because, well, for starters I generally do java or python on linux anyway, but I presume interop with c# is fairly good much like jython with java. Source: over 2 years ago
IronPython: allows Python to integrate smoothly with Microsoft's .NET framework. - Source: dev.to / almost 3 years ago
Iron Python? It originated at MS, but was abandoned and split off over 10 years ago. I'm not sure if that qualifies it as "non MS". It's part of the .NET Foundation now, though. Source: almost 3 years ago
I'd suggest taking a look at https://ironpython.net/. Source: almost 3 years ago
Shouldn't Python already work on WASM by means of Blazor? (I mean IronPython compiled .DLLs). Source: almost 3 years ago
Or you can use something like IronPython to host python in C# and do it, or just host the interpreter yourself. Source: over 3 years ago
Depending on how you want to handle things, you could use something like https://ironpython.net/, but Newt is correct in that you'll probably want some sort of restful backend in Python. Source: over 3 years ago
IIRC, jython's core developer went on to make Iron Python for .NET, which does have a 3.X branch, latest release just a few months ago? Source: over 3 years ago
I'm also aware to possibility to cross-compile(?) my python to CLR (https://ironpython.net/ and https://github.com/pythonnet/pythonnet ). But IT people said it is highly unpreferable as they will want to maintain/update the code, and will not be able to do so if the backend is still written in Python. Source: over 3 years ago
You could also look into something like IronPython to bring Python into the .NET environment. Source: over 3 years ago
I did something similar in Godot using IronPython and C#. Source: almost 4 years ago
Do you know an article comparing IronPython to other products?
Suggest a link to a post with product alternatives.
This is an informative page about IronPython. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.