ffi-overhead
ffi-overhead copied to clipboard
.NET Core 2.1 test
.NET Core 2.1 runs on linux and installs-compiles from command line. I hope to see C# or F# test. Just plug here issues so that will return and do the stuff when trying dotnet toolchain on linux.
I've just merged a csharp impl https://github.com/dyu/ffi-overhead/pull/10
I'm not familiar with how to setup dotnet on linux (never used dotnet) Can you do a PR for F#?
You could just add another entry for the run-all
script for .NET Core. I haven't used it, but just run it over the same executable; like what the Java one does.
I've just added mono to the results. I'll try to install .NET Core 2.1
dotnet csharp_hello.exe
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/data/dyu/dev/gh/ffi-overhead/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the /data/dyu/dev/gh/ffi-overhead/csharp_hello.runtimeconfig.json file specifying the appropriate framework.
Have you followed these steps https://www.microsoft.com/net/download/linux-package-manager/ubuntu14-04/sdk-current ?
I have searched for error
https://duckduckgo.com/?q=libhostpolicy.so&t=ffab&atb=v111-2_g&ia=web
Try delete csharp_hello.runtimeconfig.json
if it is presented.
Yes I installed using those exact steps.
No csharp_hello.runtimeconfig.json present.
Cool. Better to wait for https://github.com/dotnet/csharplang/issues/191 . I guess it will make C# one of the tops:) May be by that time json
issue will go away either.