Skip to content

Commit d857e54

Browse files
Version 2.6
1 parent e552eec commit d857e54

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
Julia.NET is an API designed to go between .NET and the Julia Language. It utilizes C Intefaces of both languages to allow super efficient transfers between languages (however it does have type conversion overhead as expected).
22

3-
Command Line Arguments
3+
Launching Julia from C#
44
```csharp
55
JuliaOptions options = new JuliaOptions();
66
options.ThreadCount = 4;
77
Julia.Init(options);
88
```
99

10+
Launching C# from Julia
11+
```julia
12+
using JULIAdotNET
13+
using JULIAdotNET.JuliaInterface
14+
15+
handle = Init() #Keep handle alive as long as you want .NET to be alive
16+
17+
sharpList = T"System.Collections.Generic.List`1".new[T"System.Int64"]()
18+
```
1019

1120

1221
Evaluation:

0 commit comments

Comments
 (0)