R
R
ruslan-smirnov2020-10-23 12:07:59
linux
ruslan-smirnov, 2020-10-23 12:07:59

C# or Python on Linux and Windows?

Hey!

There is a task to make a small application for working with a database. I want to take SQLite, because there the application is essentially CRUD. And now I can’t decide on the language, so that it would be convenient to work with the application. So that the user does not have difficulty installing dependencies for such a simple application.

Previously, in order for a C# application under Windows to start, it was necessary to install netframework. Now how about this? Under Linux, too, I would like to know?

I'm still looking into Python. What is needed to run applications that are based on it?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
B
Boris the Animal, 2020-10-23
@ruslan-smirnov

C# + AvaloniaUI (almost one to one like WPF) if you need a UI for Linux, Windows and macOS.
If .NET Core or .NET Framework is not installed on Windows 10, then Windows itself offers to install everything when you first start the application. There are no problems with this. You don’t need to look for anything, read anything, you just agree and everything is put on its own. This is without an installer.

R
Ronald McDonald, 2020-10-23
@Zoominger

Under Linux, too, I would like to know?

There is mono under Linux, but specifically in your case, I would choose Python to avoid hemorrhoids in the future.
Previously, in order for a C# application under Windows to start, it was necessary to install netframework

Now it comes out of the box.
I want to take SQLite

Why?

V
Vladimir Korotenko, 2020-10-23
@firedragon

And before and now you can create an installer. It will pull up the required version of the framework and everything you need. Set up the environment will create icons and stuff. The only negative is that you will spend 2 days on its development. In addition, there are already frameworks in 7 and 10. In net core, there was generally an ultimatum path, I carry everything with me. 1 executable file is completely self-sufficient, although the size is 90 megabytes, but now it doesn’t seem to matter. For installers, look at my git there is a project where it's all done curvimeter
Here's the installer
https://github.com/vkorotenko/mouse/blob/master/mo...

V
Vasily Bannikov, 2020-10-23
@vabka

You can use .NET Core - you can make a Self-contained application and you will not need to install either the .net framework or the .net core runtime.
At the same time, .NET Core has Winforms and WPF under Windows + has Avalonia and Uno for all platforms

R
Roman Mirilaczvili, 2020-10-23
@2ord

In terms of language and API stability, I think C# is more reliable. There is Mono

The easiest way to describe what Mono currently supports is:
Everything in .NET 4.7 except WPF, WWF, and with limited WCF and limited ASP.NET async stack.
with Gtk#, Windows.Forms, etc. And there is .Net Core. True, you need to install the framework.

I
Ilya T., 2020-10-25
@Insaned

As one mustachioed politician said: "they are both worse." Now the problem that you want to solve in a fashionable way on an electron , Java is well suited, in such cases I practice Lazarus, but I won’t undertake to recommend it due to some exoticism (although the tool is excellent)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question