|
Poll: Allegro 5 GUI in C or C++? |
axilmar
Member #1,204
April 2001
|
Hello all. Since Allegro 5 is almost upon us, and I'd like to learn it, and seeing that an A5 GUI library is often requested, I think it is a good opportunity to start a GUI library for it. I'd like to do it in C++, but many here seem to be more comfortable with C. I wouldn't want to waste my time with something that doesn't cover people's needs, so, I'd like to ask you all: Would you like a C or a C++ GUI library? |
GullRaDriel
Member #3,861
September 2003
|
C. Allegro is a C library. I want a C GUI library ! "Code is like shit - it only smells if it is not yours" |
bamccaig
Member #7,536
July 2006
|
Both. Reuse what you can, but provide an interface for both designed for the features of the language. Start with C because it's simpler and you'll be less likely to over-engineer it. Then you can come along after and see how C++ can improve it. \o/ -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
GullRaDriel
Member #3,861
September 2003
|
bamccaig said: how C++ can bloat it. I FTFY. "Code is like shit - it only smells if it is not yours" |
SiegeLord
Member #7,827
October 2006
|
C. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
Evert
Member #794
November 2000
|
C for me, but don't listen to me or anyone else. For everyone who says C, there'll be someone else who says C++, and either way, that's not the point. |
bamccaig
Member #7,536
July 2006
|
Evert said:
Make something that you find useful and release it for other people to use, and some people will use it. Some won't. This is absolutely true. Any project like this will only succeed if the developer(s) are doing it for themselves. As long as you open source it with a FLOSS-friendly license, people will take what they like from your project and fix it if it needs fixing. Even if the only thing that your project does is motivate somebody to write a completely different library, it will have been worth it if it results in a good GUI library in the end. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
type568
Member #8,381
March 2007
|
bamccaig said: This is absolutely true. Any project like this will only succeed if the developer(s) are doing it for themselves. People are buying EA games, although they're unplayable, literally. I highly doubt these guys don't know they're making shit, nor do I think they play it. Yep, I'm trolling.
|
Tobias Dammers
Member #2,604
August 2002
|
He's talking about Open Source, not commercial. Commercial software seems to work best when the developers hate their own product or something like that. --- |
bamccaig
Member #7,536
July 2006
|
type568 said: People are buying EA games, although they're unplayable, literally. I highly doubt these guys don't know they're making shit, nor do I think they play it. That's a little bit different: they do that for money, and it's most likely their day job. With FLOSS software, there's generally no monetary compensation for your effort, so you better be doing it because it provides value to you, or you won't get far. x 2=D@ 92AA6? E@ 4@?EC:3FE6 E@ D@>6 AC6EEJ 9@CC:3=6 D@7EH2C6 2E ;_C3] x 5@?VE =:<6 E96 D@7EH2C6 E92E x >2<6[ 3FE x >2<6 :E 3642FD6 x 86E A2:5 E@ >2<6 :E[ 2?5 x >2<6 :E E96 H2J xV> E@=5 3642FD6 x 86E A2:5 E@ >2<6 :E E96 H2J xV> E@=5 Wx 86?6C2==J 5@ >J 36DE E@ >2<6 :E DF4< =6DDWE>X[ 3FE :EVD H2J @FE @7 >J 92?5DX]
-- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
SiegeLord
Member #7,827
October 2006
|
Evert said: Otherwise you're setting yourself up to becoming demotivated by people not caring or not liking it. This is axilmar we're talking about. The fact that this will happen is a foregone conclusion. "For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18 |
GullRaDriel
Member #3,861
September 2003
|
bambam, what's the point in encrypting a spoiler ? hmmmm ?? SiegeLord said: This is axilmar we're talking about. The fact that this will happen is a foregone conclusion. +1 "Code is like shit - it only smells if it is not yours" |
bamccaig
Member #7,536
July 2006
|
GullRaDriel said: bambam, what's the point in encrypting a spoiler ? hmmmm ?? Less likely that certain people that may take offense to it will stumble upon and read it. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
axilmar
Member #1,204
April 2001
|
SiegeLord said: This is axilmar we're talking about. The fact that this will happen is a foregone conclusion. Of course; don't hold your breath. I see that most prefer C. For me, it's not that relevant; I am not gonna use any advanced C++ techniques anyway. |
GullRaDriel
Member #3,861
September 2003
|
bamccaig said: Less likely that certain people that may take offense to it will stumble upon and read it. Doing so they do not get what they deserve for clicking on "reveal spoiler". That's defeating up the simple fact of having a spoiler button. axilmar said: I see that most prefer C. For me, it's not that relevant; I am not gonna use any advanced C++ techniques anyway. Go for the GUI !! "Code is like shit - it only smells if it is not yours" |
Elias
Member #358
May 2000
|
axilmar said: Would you like a C or a C++ GUI library? If you make yours work (and look) at least as good as the one Matthew showed in some youtube videos once, I vote for C as I might want to use it Otherwise i probably wouldn't use it anyway and then C++ would be fine. -- |
kenmasters1976
Member #8,794
July 2007
|
Another vote for C... or at least for a C interface even if you code it in C++.
|
Johan Halmén
Member #1,550
September 2001
|
One vote for both! A4 had a brilliant GUI, definitely worth its price. I guess A5 won't have a GUI "of its own" like A4 had. So is there a need for a voting? Someone make a C GUI, someone make a C++ one. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest. |
kenmasters1976
Member #8,794
July 2007
|
Johan Halmén said: So is there a need for a voting? Well, this is a Poll thread. I'm sure we'll eventually have plenty of GUI addons/libs for Allegro 5 in both C and C++. Right now it seems there's already a few people working on GUIs given the number of GUI threads that have appeared recently.
|
Thomas Fjellstrom
Member #476
June 2000
|
kenmasters1976 said: Right now it seems there's already a few people working on GUIs given the number of GUI threads that have appeared recently. They don't tend to get anywhere though. A good GUI is hard to do, especially one that fits in well with games. -- |
Michael Faerber
Member #4,800
July 2004
|
I was going to suggest C++, but after some consideration I think it would be better to code it in C, because I think it may be easier to write a C++ wrapper for a C library than vice versa. [EDIT] Elias said: If you make yours work (and look) at least as good as the one Matthew showed in some youtube videos once, I vote for C as I might want to use it Can someone point me to this video? -- |
Mark Oates
Member #1,146
March 2001
|
I prefer C++ as a language, but I vote for a C interface (whether or not it's written in C or C++). The real question is Will we get a GUI library? [edit] Michael Faerber said: Can someone point me to this video?
There's a follow up if you go to youtube. -- |
bamccaig
Member #7,536
July 2006
|
So then what's wrong with that one? -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
ImLeftFooted
Member #3,935
October 2003
|
Can you do a javascript port of it? |
Mark Oates
Member #1,146
March 2001
|
bamccaig said: So then what's wrong with that one? It's not ready yet. -- |
|
|