Replies: 3 comments 2 replies
-
C# cannot do some of the things C/C++ can do, like real time interrupt processing but C# and nanoframework has make debugging so much easier. As for the big dotnet framework, the problem is stigma. Just because the technology is from Microsoft a lot of people has a obvious bias against it. In terms of language, memory and speed dotnet is not inferior to Java, and in all honesty it is way ahead of Java. This is my 2cents rant. |
Beta Was this translation helpful? Give feedback.
-
@sgf what you are suggesting is far from trivial. As we get lower and lower on the layers and get close to the metal, it becomes almost mandatory to use C and even assembly to deal with common tasks required for boot, as an example. Setting up heap, configuring clocks and registers, etc. In .NET nanoFramework, those complicated parts are still there and available for knowledgeable developers to tweak and adjust at will. That's why one can go and port to a new MCU series or even a totally different vendor/platform. I've seen from the most "obvious" devices blinking an LED or opening a garage door, to very complex systems connected to the cloud or running standalone controlling complex hardware. We're not claiming to be the holy grail for embedded systems development, not the perfect choice for every use case. I'm biased, of course 😅, by I keep thinking that .NET nanoFramework it's an amazing framework with capabilities and features ready to satisfy the requirements of complex commercial projects to novice developers learning to code. |
Beta Was this translation helpful? Give feedback.
-
@sgf just to add on top: you have the choice, so use whatever you think is best for you! You're not forced to use .NET nanoFramework, you have a lot of choices and a lot of other languages and platforms. Now, as José explained, you have a lot of advantages! And it makes for most scenarios your life easier. |
Beta Was this translation helpful? Give feedback.
-
Have you ever thought about getting rid of all languages other than C#? All in C#.
In fact, if you only use C# to develop some peripheral or purely business-oriented things, it may not make much sense.
This is one of the reasons why .net micro framework cannot really become popular.
It may have advantages over java, but it is not obvious compared to c/c++. If the opponent is rust, then it may be even worse, because rust is both low-level and safe.
Once it involves a lower level, you need to modify the code such as C/C++.
I am a little skeptical about what the advantages of using nano framework are?
In the Internet field, C# seems to face the same problem. Most of the infrastructure (big data, databases, search engines, etc.) are developed in java. Therefore, apart from personal preference, people seem to have no reason to use C#/.net.
Of course, I'm just chatting casually. Please forgive me if I'm offended.
Beta Was this translation helpful? Give feedback.
All reactions