|
||||||
Views:
11,099,286 |
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Stats | Ranks | Online users | Search | 12-03-24 05:08 PM |
||||
Guest: Register | Login |
0 users currently in msg db 'Computer Address',0xa | 1 bot |
Main - msg db 'Computer Address',0xa - A proper talk about .Net and such? |
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 874/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
Is such a thing even possible? Let's find out.
Last time I tried to talk about .Net, certain somebodies felt the urge to bring up how things "didn't look native" when running .Net apps in Linux and shit, then kept focusing on that. So let's limit ourselves to the internal parts. The .Net runtime, or very adequate alternative implementations (it IS a published and standardized thing after all) can run on a reasonable amount of different machines. Perhaps not so much as its older sister Java, but plenty. Which, just as an aside, brings me to mention that Java's Swing doesn't look native either, so if you're gonna whine about Winforms anyway, take it both ways please. At any rate, let's talk about the CLI, shall we? Or, if you prefer, other systems like it, such as Java, or dare I suggest, SCI. |
Trelior |
| ||
Normal User
Level: 128 Posts: 501/4986 EXP: 24185708 Next: 195992 Since: 01-02-12 Last post: 1483 days Last view: 1483 days |
As far as the languages I've learned, and subsequently forgot from not using any of it... I preferred the .NET framework to program in, though the only language I learned was VB.NET.
I didn't care for Java. To quote something I heard once before... "Saying Java is good because it works on all platforms is like saying anal sex is good because it works on both genders." |
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 879/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
That quote is truth.
But hey, you could write .Net code in raw assembly if you wanted to. It's just, the important thing to remember is that it's stack-based.
I certainly found removing the Corruption from my copy of Terraria easy enough. Edit: oh and there's a tool to compile the whole damn thing directly to the target platform, makes it go faster in the long run. |
Nicole |
| ||
Administrator
Goddess of the Apocalypse Level: 200 Posts: 296/14042 EXP: 114290657 Next: 838732 Since: 01-03-12 From: Boston, MA Last post: 479 days Last view: 479 days |
♥296 ✿4717 ★57 I will say when I want to make a program, I usually use VB.Net, and most of my projects are done in that. But it's not really out of any particular love for the CLR, just that it happens to be a convenient development platform since Visual Studio is really nice, and I already knew the basics of VB. |
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 897/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
Well, then you should also be able to use C#. They all share the same base class library, except VB.NET has some extra things like "My" I think, and IMHO, it's closer to C# than it is to VB Classic.
Are there any other reasons to call it "convenient"? |
Arisotura |
| ||
Developer
pancakes Level: 84 Posts: 157/1870 EXP: 5553293 Next: 108659 Since: 01-05-12 From: France Last post: 50 days Last view: 50 days |
I first went into .NET when I started coding in C++/CLI. The ability to design the forms directly was so convenient, compared to Win32 (those endless window/dialog procedures, ugh).
And I only realized how hackish C++/CLI is when I started coding in C#. That is, after the third release of SM64DSe (v1.1). Posted by Kawa This will void Nina's argument that .NET is closed just because it comes from Microsoft ____________________ Kuribo64 - melonDS want some revolution in your coffee? |
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 904/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
Stupid arguments are exactly what I wanted to avoid in this thread so I'm pleased to hear that.
And yes, C++/CLI is just odd. |
Nicole |
| ||
Administrator
Goddess of the Apocalypse Level: 200 Posts: 300/14042 EXP: 114290657 Next: 838732 Since: 01-03-12 From: Boston, MA Last post: 479 days Last view: 479 days |
♥300 ✿4717 ★57 Posted by Kawa Yeah, I could probably learn C# if I felt like it- I'm more used to BASIC syntax, but I've used languages with C-style syntax before so I could probably figure it out, and the other differences on top of syntax seem fairly minor. I've seen some C# code and are generally able to figure it out.... |
Nadia |
| ||
Normal User
Axew Level: 23 Posts: 26/93 EXP: 61590 Next: 6133 Since: 01-05-12 From: Denmark Last post: 2365 days Last view: 1282 days |
Posted by Kawa Actually, it can. — it doesn't do a perfect job of it, but it -tries-. |
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 924/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
See, I could go into how actually using the actual native controls is the only way to get an actually native look and feel, but that's exactly what this is not supposed to be about. So thank you, Niko, for that.
Now, let's try to fix this. VB.Net had optional parameters (you all know what those are, right?) but C# didn't until version 4. According to the developers' blogs, this was because they needed time to properly define the behavior of that functionality, which sounds like a pretty good reason for delay to me. There are simple usage cases where the "correct" behavior is blatantly obvious, but then there's also complicated scenarios. And those are the cause of the delay. Because on the CIL level, there's no such thing -- C# 4.0's optional parameters are filled in at compile time: void MyFunction(int i, int j = 4) { ... }And that's why you can use the 4.0 compiler, set to target the 2.0 runtime, and still use things like var and optional parameters. Ain't that a cool thing. |
Kiyoshi |
| ||
Normal User
HEY HEY HEY STAY OUTTA MAH SHED Level: 65 Posts: 653/1016 EXP: 2224613 Next: 111015 Since: 01-02-12 Last post: 4606 days Last view: 4577 days |
.NET is a lot more secure than classic programming, since it's sandboxed, that's what I like about it.
I don't like that you have to install all those different framework versions though, backward compatibility would have been nice. ____________________ I don't give a flying feather |
Nicole |
| ||
Administrator
Goddess of the Apocalypse Level: 200 Posts: 321/14042 EXP: 114290657 Next: 838732 Since: 01-03-12 From: Boston, MA Last post: 479 days Last view: 479 days |
♥321 ✿4717 ★57 Kawa: Do VB.Net's optional parameters work that way as well, then? (Since you say it can't exist at the CIL level) |
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 931/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
Basically, they probably do. It's just, VB Classic already had it so they were pretty much forced to do it from day one.
It could've been a CIL-level function, but that would just open a whole 'nother can of worms. |
Ailure |
| ||
Retired Staff
Buzzy Beetle Red pandas and stuff Level: 43 Posts: 183/398 EXP: 545489 Next: 19557 Since: 01-01-12 Last post: 2708 days Last view: 910 days |
Posted by NinaIt does a well good enough job IMO, but with a few gotchas. The main being that the native look does not necessarily support everything that a proper Swing UI looks. Not to say that what functions each native UI set supports varies between desktop environment. My recommendation is to prefer Native as users prefer the familiar look, but at the same time only use native for environments where you have tested it in to make sure the program dosen't wind up being unusable due to a quirk of the desktop environment (which is also the reason why it's not default).Posted by Kawa ____________________ AIM: gamefreak1337, MSN: Emil_sim@spray.se, XMPP: ailure@xmpp.kafuka.org, YouTube
|
Kawa |
| ||
Retired Staff
Not okay Prophet of Celestia Level: 94 Posts: 956/2423 EXP: 8193931 Next: 162726 Since: 01-01-12 From: The Netherlands Last post: 2250 days Last view: 565 days |
You guys seriously gonna persist on the whole native looks bullshit? |
Main - msg db 'Computer Address',0xa - A proper talk about .Net and such? |
Acmlmboard v2.5.6 (06/11/2024) © 2005-2024 Acmlm, Emuz, et al. |
MySQL - queries: 166, rows: 576/610, time: 0.132 seconds. |