Dolphin, the GameCube and Wii emulator - Forums
Programming Discussion Thread - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Offtopic (https://forums.dolphin-emu.org/Forum-offtopic)
+--- Forum: Delfino Plaza (https://forums.dolphin-emu.org/Forum-delfino-plaza)
+--- Thread: Programming Discussion Thread (/Thread-programming-discussion-thread)



RE: Programming Discussion Thread - Qaazavaca Qaanic - 06-17-2016

why doesn't flatpak automatically put symlinks to the apps in PATH?


RE: Programming Discussion Thread - Shonumi - 06-17-2016

I dunno what SDL 2.0 does now, but it's really messing up SDL_MixAudio. It's supposed to be a legacy function, but it seems like it's borked now. Sad


RE: Programming Discussion Thread - Anti-Ultimate - 06-17-2016

Is there a way to compile only the systemd libraries (libudev and the other one) using an autogen/configure argument?

Don't want to compile the entire systemd, and it's certainly not needed.


RE: Programming Discussion Thread - Anti-Ultimate - 06-21-2016

I actually got in touch with someone who knows about flatpak, so I assume they are a developer, or at least someone participating

Quote:libudev is not suitable for use in the sandbox, because the upstream maintainers consider the libudev <> udev interface private and unstable
Quote:so having libudev in sandbox/runtime talk to the host udev is bound to break
Quote:we need to come up  with some solutions for (selective) hw access, obviously
so no hardware access until they come up with a solution


RE: Programming Discussion Thread - Admentus - 07-09-2016

Java is one the most popular (well... Sweden for example, nr. 1. language) programming languages... Althrough not so many emulators use Java? Personally I found Java 7 (Yea, I know... This was a while ago before Java 8 was released) quite a relief to work on compared to C++. Other than Java, the most popular coding language in the USA would be the C series (C, C++, C#). Dolphin uses C or C++ through, I am not completely home in this. I never really deepened myself in the code from Github.

Ahh well... That's just me being used to the CodeBlocks and Eclipse development tools. Yeah... Java... Useful for Android programming through... Why did I ever stick with Java... It is quite nice that JavaScript is quite similar to Java.


RE: Programming Discussion Thread - JosJuice - 07-09-2016

(07-09-2016, 10:29 PM)Admentus Wrote: Other than Java, the most popular coding language in the USA would be the C series (C, C++, C#).

C# is not really in the same series as C and C++. It just has a similar name.

(07-09-2016, 10:29 PM)Admentus Wrote: Dolphin uses C or C++ through, I am not completely home in this.

It uses C++.


RE: Programming Discussion Thread - Admentus - 07-09-2016

I thought C# was aimed to replace C++? I never got further than C++. Never used C# through. Again, just a Java scripter here.


RE: Programming Discussion Thread - Garteal - 07-09-2016

I like C# and would say it's easy to start with.
But you should give each language that peeks your interest a try and see which one you like better.


RE: Programming Discussion Thread - Zee530 - 07-09-2016

Lot more programmers in the mobile market these days, might want to start from there.


RE: Programming Discussion Thread - teh_speleegn_polease - 07-10-2016

C# is nice and straightforward, though it's not necessarily the best in every case. The first language I learned was C# (well, I first learned NXT-G and then NXC, look them up if you're curious, but the first actual, real language I used was C#). As far as I'm aware it has significantly less gotchas than other similar languages.

I know a lot of people will sing hymns till sundown praising Python, but it has a few things I personally really hate - most notably significant whitespace (i.e. how your program is indented affects how it behaves). I guess it's supposed to be good for people learning to program, but... eh.

I have never used Java so cannot properly comment on it. My personal opinion, which is in no way fact and might be quite wrong, is that it's very comparable to C#; the differences are that Java is more portable, and more popular, but it also has some weird quirks which might be considered illogical. In this sense I would recommend C# more, you can always learn Java later if you want employability.

JavaScript... I am currently doing an internship as a JavaScript developer. Our product has some 180,000 lines of code. It's not a bad language, per se, but it was never designed to be used at such a scale. For instance, ES6 is the first version to add proper class and inheritance support; previously, you had to mess around with prototypes and use weird design patterns to be able to have an actual OO structure. As far as I know, there's still no way to properly declare private or protected members - you have to work around that manually, too.

C++ is perhaps one of the easiest mainstream languages to shoot yourself in the foot with. I know people who are in love with it and people who hate it. Like C, it is pretty low-level, and while I wouldn't say it's a bad language I don't think I would recommend it as a starting language.

C is like C++ but simpler. This means there's less stuff to shoot yourself in the foot with (though that doesn't mean that it's actually harder to do it - you just get less variety), but also less stuff to help you. The main difference is perhaps the fact that C is primarily procedural whereas C++ is primarily OO.

Visual Basic is kinda outdated in my opinion. It's not too bad, but there's better stuff out there and it's not popular enough to warrant learning nowadays, again in my opinion.

PHP is a plague that is spreading. I cannot wait until, after 75% of the population is infected, it finally stops spreading and then dies out.

I'm not going to mention niche or non-mainstream languages like Go, Typescript, etc. With one exception: Lisp is often considered one of the best languages, although nobody can be bothered to actually make anything with it. It's often used for educational purposes; to quote (and horribly butcher) somebody whose name I don't remember, "learning Lisp will make you a better programmer, even if you never write Lisp again". If you're interested in theoretical knowledge that can only be indirectly applied, it might be a great choice. If you want to code for fun, it's not a bad choice. If you want to get hired as a developer, learning it is a good idea but by itself it's not going to get you a job, and I'd recommend starting with something else.

TL;DR: C# or Python are my recommendations for starting languages (but Python is shit so don't learn it Tongue). The best language depends on what, exactly, you're trying to do (I wrote a shell script for zsh the other day, and using zsh's native scripting was the best choice, because anything else would have been overkill and I would have wasted much more time doing it than I would have saved when writing the code itself). It also depends on your metric for "best", as well as on personal opinion: I know someone who actually likes PHP (quite sincerely too!).