AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Are .NET libraries usable in pawn? (https://forums.alliedmods.net/showthread.php?t=313580)

thEsp 01-14-2019 09:20

Are .NET libraries usable in pawn?
 
Title says it all ^

KliPPy 01-14-2019 10:17

Re: Are .NET libraries usable in pawn?
 
Of course not.

thEsp 05-22-2020 17:28

Re: Are .NET libraries usable in pawn?
 
Update: It turns out that it's possible to successfully embed .NET into AMXX/MM modules through C++/CLR (let's suppose this is C#). However this is solely Windows-only and there's pretty much nothing you can do to port it over Linux. I was firstly worried about performance speed and crashes before all, but it was unexpectedly fast. Rest is to be explored.

+ARUKARI- 05-22-2020 23:37

Re: Are .NET libraries usable in pawn?
 
If you can limit it to .Net Core, it might be available on Linux.

thEsp 05-23-2020 08:14

Re: Are .NET libraries usable in pawn?
 
Quote:

Originally Posted by +ARUKARI- (Post 2701717)
If you can limit it to .Net Core, it might be available on Linux.

That's not really possible. This is not something Mono can do.

KliPPy 05-23-2020 09:15

Re: Are .NET libraries usable in pawn?
 
Quote:

Originally Posted by thEsp (Post 2701768)
That's not really possible. This is not something Mono can do.

Mono is not .NET Core, they are two different products.

I've tried embedding .NET Core a long time ago, but it didn't go well. Also it doesn't officially support Linux 32-bit which made me give up on it.

As for Mono: there's an AMXX-like prototype for Mono somewhere on Github, forgot its name. It's also like 7-8 years old now. I've tried playing with it but I haven't found an official way to statically link Mono; they really want you to dynamically link to it.


All times are GMT -4. The time now is 00:05.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.