|
I donno... might actually help to kill some of that "grass is greener" attitude that grows so quickly when you're writing for a platform by necessity rather than choice. See how the other half lives, etc.
"The time has come," the Walrus said,
"To talk of many things..."
|
|
|
|
|
I code on both with C, C++ and java, and let me tell you, the API and frameworks are shockingly similar. Socket programming, as you could see in the class I posted is very much like winsock.
GDI is very much like Gnome GDI, and MFC is similar to GTKmm. Glade and Glade2 is similar to the RAD forms tool in visual studio, and the unix curses library is similar to conio.h from the win library.
pthread library for POSIX threads is almost exactly like the windows C++ threading model with beginthread(&address, pvoid); and the rest of the win API, it's very similar to POSIX, but not quite. This happens alot between win and linux, similar constructs, but not exactly.
Then there are also differences between the two platforms, like the compilers and tools most people use.
I think if anything people would see how similar the 2 systems are as far as libraries to interface with C++. I'm not talking about stuff like COM or OLE, but rather win32.
|
|
|
|
|
Just kill the variations of m$ and micro$oft like you do any other vulgar word. Also as long as there isn't any linux bashing either that would be great.
-Steven Hicks
CPACodeProjectAddict
|
|
|
|
|
Because M$ and Micro$oft are not vulgar words!
Do you really think that Chairman Gates and Company deserve respect for the beta quality software they sell to you? That's right you paid money for it and as such are entitled to reasonable expectations that it actually works out of the box.
If "trustworthy computing" is more than a marketing hype why do some Micro$$$$$$oft products still have buffer overruns?
Think back to programming 101. Weren't you taught to test so that you do not do something foolish like try to put 10 Kg of s**t into a 5 Kg buffer?
When Micro$$$$$oft releases professional quality software then I will show them respect. Until then I will not turn away clients but I will not be politically correct when I make references to them.
|
|
|
|
|
any news on this?
Anybody want to help me work on my winGDI abstraction over Xlib?
I'm starting my class framework
|
|
|
|
|
|
http://channel9.msdn.com/ShowPost.aspx?PostID=30488
<quote>P.S. -- There WILL be native versions of the Longhorn API.</quote>
Looks like you won't have to use C# to use the new longhorn API afterall. Maybe my years of complaining about it on GDN payed off. Maybe I'm just lucky.
At any rate, Mono on linux is about as useful as perl or bash right now, and even there.
I want to stick this in an about 500KB .so file like MFC is on win so people can redistribute the runtime with their RPM's or windows install sheild, just like an MFC merge module.
.NET and mono on linux is a huge runtime, that must be installed before the actual program is installed. That is the huge difference there.
It is the same difference between requiring that mfc42.dll be installed and that the entire .NET framework be installed to run your program.
I think that my library will be of some use to people when it has enough api to be usable.
My goal right now is to run the examples from the petzold book over my X abstraction layer.
|
|
|
|
|
Beer26 wrote:
.NET and mono on linux is a huge runtime, that must be installed before the actual program is installed. That is the huge difference there.
FWIW, some one is writing a linker for Mono. So you can bundle up your app and distribute a single executable, with no need to install the runtime. Nice, eh?
BTW, this is a forum for suggestions - it would be polite to continue this discussion elsewhere.
"The time has come," the Walrus said,
"To talk of many things..."
|
|
|
|
|
From your link is the following quote,
<quote>In the example above the resulting binary is a healty 7.5 megabyte file,</quote>
This is no better than bundling the jvm with your .jar. This has been done for years now.
If you can't tell the difference between a thin abstraction layer as a shared object library and a 2 line src binary that is dependant on a large runtime that must be lugged around with it where ever it's run, then I'm afraid I don't want to continue this discussion, here or elsewhere as you put it.
Then you have the fact that mono does all pinvokes and winforms and drawing in win32 api calls over the wine emulation layer, so if you want anything that runs on a desktop, count on at least 30 extra megs in your rpm or linux install shield.
Only a windows developer that is desperate to ship on linux, even if it's done super badly would see this as a good solution. It's not.
|
|
|
|
|
You may as well ship vmware in your redistributable as well, and tell them to install a full win98 system on linux to run your app, because it's almost as bad.
BTW, unlike wine widgets that mono uses, I'm going to make sure my widget set actually looks like windows
imagine that.
I know they were planning on dumping mono and using GTK directly, but that will not provide true UI emulation either. I'm doing this directly over x, providing the fonts, color paletes, and drawing the menus. This is no cheap hotwiring to an existing library for forms. It's going to take a long time to get right.
|
|
|
|
|
|
I'm using FireFox 1.0 and I sign then go to the forums, post and as soon as its posted I'm signed out. As long as I don't post I stay signed in.
|
|
|
|
|
Hi!
I would really appreciate if the syntax coloring that is available for articles would be available for messages, too.
i.e. I would like to use <pre lang=c++> to apply syntax coloring to a code block in a message.
Would be really nice to have :P
Thanks for this great site
Leo
|
|
|
|
|
I don't know why you got voted a 1, but I agree with you.
Incidentally, CP devs, the <pre> in the parent message was interpretted literally on the reply page. I doubt this is intended.
Everybody is entitled to my opinion
|
|
|
|
|
David Wulff wrote:
I don't know why you got voted a 1, but I agree with you.
That was me. My attempt at adding my reply was beaten by one of the usual CP gliches.
I worry that by adding syntax highlighting, we'll end up with more code dump questions. When posting faulty code, I believe the poster should only post what is necessary for demonstrating the error. This really should only be a small snippet and I don't see how syntax highlighting would be of benefit beyond eye-candy.
Michael
CP Blog [^]
|
|
|
|
|
Well I agree to that point - also because CP would get even slower than now if every comment is parsed and syntax-colored.
|
|
|
|
|
Excellent idea.
Adn look - you've spotted a bug. Nice.
cheers,
Chris Maunder
|
|
|
|
|
I was looking at:
http://www.codeproject.com/styles/global.css
while I was writing my last article, and I thought it would be nice if we could use UL.class for articles.
Others that might be nice to have include Control, CSFile, and so on.
|
|
|
|
|
hi,
plz can somebody explain me how member status works? I mean, is promoting automated, when does it happen, etc.
I know this user[^] who has posted an article quite while ago, and he is still no status... Shouldn't he be bronze?
surprisingly he's my friend
[eqoism]and why am I bronze? I have posted article (and some posts) and I am member for more then year, so I think I should be silver...[/egoism]
Plz don't get me wrong, I know this greate site is not about silver or gold memberships I can help people as "no status" as well as "platinum", But, you know, it feels good to be on higher level
best regards,
David 'DNH' Nohejl
Never forget: "Stay kul and happy" (I.A.)
|
|
|
|
|
Status is recalculated nightly. I've given things a kick - let me know if it hasn't updated status by tomorrow morning.
cheers,
Chris Maunder
|
|
|
|
|
I don't see any change.
David
Never forget: "Stay kul and happy" (I.A.)
|
|
|
|
|
thanks!
Never forget: "Stay kul and happy" (I.A.)
|
|
|
|
|
Not sure if it actually saves time and space, but do we really need to see our own names after each message thread in the Messages Submitted page? Do users change their names that often?
"For that one fraction of a second, you were open to options you would never have considered. That is the exploration that awaits you. Not mapping stars and studying nebula, but charting the unknown possibilities of existence." - Q (Star Trek: The Next Generation) ^ Blog
|
|
|
|
|
Bassam Abdul-Baki wrote:
Do users change their names that often?
Yes , I have Changed It tooo
-----------------------------
"I Think this Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
|
|
|
|
|
RajMVP[^] posted 5 "code snippets". could some Editor have a look at this? Thanks
P.S. CP is running smoothly. So you see we don#t *always* complain
we are here to help each other get through this thing, whatever it is Vonnegut jr. boost your code || Fold With Us! || sighist | doxygen
|
|
|
|