x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

.net development for HPC2000 (Jornada 720)

Moderators: C:Amie

Jump to page : 1 2
Now viewing page 2 [15 messages per page]

ntware Page Icon Posted 2020-03-26 11:49 AM
#
Avatar image of ntware
H/PC Philosopher

Posts:
385
Location:
Florida, US
Status:
Quote
joval - 2020-03-26 12:24 AM
Yes...it even runs in Win 10! So, just what is this .Net thing???

The reason why .net apps run everywhere is because a .net application is not compiled for any specific processor. Instead, it is compiled for a "virtual machine". The runtime is like a JIT compiler that translates the virtual machine code in real-time to the host machine. So, if you have the runtime installed on an ARM cpu, when you launch a .net application, the virtual machine code will be translated to ARM code and then the app runs. Same thing on a Windows 10 x86 PC, the runtime (that nowadays comes built-in on every Windows) translates the code to x86. Think of this like an emulator - you can run the same NES games on your PC, on your phone, on your tablet, etc using a NES emulator. However, since the .net targets only Windows apps, the JIT compiler uses some tricks to make it a lot faster than regular emulators, e.g.: some Windows calls are executed natively (full speed), use of cache memory to "remember" code previously compiled, etc..

All in all, .net apps are nice because they can run anywhere, are very easy to program (C# is kinda like Python, where everything comes ready and you just use it!), but can't run as fast as a native application.
 Top of the page
joval Page Icon Posted 2020-03-27 2:55 PM
#
Avatar image of joval
Subscribers
Factorite (Elite)

Posts:
248
Location:
Northern California
Status:
ntware...That is a great explanation. How do I learn more??
 Top of the page
ntware Page Icon Posted 2020-03-27 11:54 PM
#
Avatar image of ntware
H/PC Philosopher

Posts:
385
Location:
Florida, US
Status:
First, grab a copy of a Windows 2000 VM (winworldpc is a great resource for old and abandoned operating systems). Then use some Google-Fu to find a copy of MS Visual Studio 2003. This is technically not free, but given its age, I believe Microsoft considers it abandonware. The legality of it is up to you...

VS 2003 comes with .net compact framework built in. So after installing it on your Windows VM, you can start creating .net apps right away.

If you want, I can share with you the source code for my little Tic Tac Toe game. In fact, it would be better if I could upload this to HPC:Factor somewhere to help other future developers. CAmie, suggestions?
 Top of the page
joval Page Icon Posted 2020-03-28 1:43 AM
#
Avatar image of joval
Subscribers
Factorite (Elite)

Posts:
248
Location:
Northern California
Status:
you've got me drooling...yes, I would like to see the lay of the land on tic-tac-toe. I think I can...I think I can...
 Top of the page
hpc:factor« View previous thread · Developers Arena · View next thread »

Jump to page : 1 2
Now viewing page 2 [15 messages per page]

Jump to forum:
Seconds to generate: 0.062 - Cached queries : 59 - Executed queries : 9
Server Time now is: Saturday, 28 March 2020 - 19:6