IfSharp icon indicating copy to clipboard operation
IfSharp copied to clipboard

Proposal : Making it a dotnet tool

Open ykafia opened this issue 6 years ago • 4 comments

It would be interesting to add IfSharp as a dotnet tool to ease the installation. I'm not sure if it would be possible but here is the doc for that

ykafia avatar Jun 07 '19 12:06 ykafia

It's definitely possible, some of the Microsoft Quantum folks have another approach with Jupyter here where they do exactly what you're suggestion: https://github.com/Microsoft/jupyter-core/

One of the considerations is how to handle the Python requirement. One approach, instead of a dotnet tool is to install directly into a Python package manager. The other route is the Julia notebook system https://github.com/JuliaLang/IJulia.jl will will install a version of Python for you.

So lots of options but I don't have a good feel for what's the most convenient.

cgravill avatar Jun 07 '19 12:06 cgravill

I will ask the microsoft Quantum devs if F# is in their project. From reading some of their There's a C# Kernel made by the SciSharp people who's considered to be added in their repo.

Question : How about chocolatey's install for python, using parameters to install a python distro + jupyter if not already installed?

ykafia avatar Jun 07 '19 12:06 ykafia

It's not yet. I've spoken with @cgranade (+others) and there's definitely some overlap. I've a background interest in trying to spin up an .NET Core F# kernel within the system which would be nice to see. They have a great tutorial here https://github.com/microsoft/jupyter-core/blob/master/tutorial.md but I've not had the spare time with all the other hobby coding! :-)

There is still the question of what to do about 3rd party bits e.g. plotting. There's an upcoming syntax improvement to F# #r statements around 3rd party which would make it much better.

cgravill avatar Jun 07 '19 14:06 cgravill

As another data point on thisthe new general .NET Kernel: https://www.hanselman.com/blog/AnnouncingNETJupyterNotebooks.aspx installs as a dotnet tool.

When that gains enough features it might make sense to migrate over there.

cgravill avatar Dec 24 '19 10:12 cgravill