Slashdot Mirror


Microsoft's New Language

We've been buried in submissions about Microsoft's new programming language. Here's one of them. Brohamm writes: "Microsoft has created a new language called c# (pronounced C-Sharp). It's supposed to look like C but has the same concepts as Java. Looks like they gave those J++ developers something to do. Check it out at CNet."

601 comments

  1. Re:The _results_ may be oxymoron... by Malcontent · · Score: 1

    Anybody who works for MS has to make themselves believe that what MS is doing is good, right, ethical, just and necessary. Otherwise they could not sleep soundly and with a clear conciense.

    Or maybe they are just evil like the top brass is.

    --

    War is necrophilia.

  2. declined to say when C# will be available... by protected · · Score: 1
    "Microsoft executives declined to say when C# will be available."

    What if Microsoft is just announcing something they won't have for a long time just to undermine competition. Wouldn't that be kind of underhanded? That would be so unlike them... :-)

    Microsoft doesn't like their technical position so they fight with vaporware announcements. The truly open technologies like Java, JSP, Servlets, XML, EJB and of course Linux seriously threaten Microsoft -- much more so than Apple did in the pre-Windows past.

    It is very, very difficult to believe that C# will be anything but Windows-specific. If they wanted to be open platform proponents they could just abide by their Java license -- and join the rest of the world. No, they are just buying time with vaporware. Microsoft needs something like Microsoft.net to catch on before their entire software base gives way to freeware alternatives.

    C# developers should consider the sad fate of J++ developers.

  3. Why not Cb by mpost4 · · Score: 1

    for those of you who don't get it #-sharp b-flat these are musical terms not computer terms, there profe their the MS can not even get naming right, this will probably be another lets steal from here there and every were and see if we can get away with it, and call it inovation.

  4. Re:What I think... by BitchLick · · Score: 1

    I'm glad I didn't waste my time on Java 1.0
    (I work every day with Java 1.1 and I love it)

    Uhh, I've never had System.currentTimeMillis() do that. It just works.

  5. Re:Learn Java before you criticize it by BitchLick · · Score: 1

    No... the reason why you're an idiot was because you bitched and moaned about a Java deficiency that does not exist.

    It's not merely because you're ignorant (since we can't all know everything), but that you saw a problem and did not research the obvious solution to it, instead deciding to spread FUD (even if unintentionally).

  6. Re:Prof Nyarly on Garbage Collection by Nobody · · Score: 1


    It's true that GC works best on classes who's only 'resource' is memory but IMHO the creakiness of having to call explicit cleanup functions (File.ReallyFreakingCloseNowDammit) every once in a while is not a big deal. The other advantages of GC seem to outway the disadvantages for most app-level development.

  7. Re:The press conference by 0x0000 · · Score: 1

    I was going to nominate 'Microsofteese', but must I defer to the more accurate nomentclature you suggest... I think it should be one word, though -- "Ceeshit"; southerners can pronounce it "Ceeshee-aye-eet".

    --
    "The Internet is made of cats."
  8. Re:COOL by JTB · · Score: 1
    2. There is a good deal of heavily entrenched and saturated languages like Java and TCL already poised to defend their positions.

    Come on, be reasonable. How did Java get adapted, then? C, C++, and perl were already heavily entrenched! Or how about C? Fortran and COBOL were already heavily entrenched!

    -JTB

  9. Re:Actually... by Malcontent · · Score: 1

    nothing from MS lasts a long time. As soon as the ms developers get their minds around this thing MS will pull the rug out from under them again. Over and over they have done this. I am shocked to hear you say that MS is abandoning COM. MS has a very bad track record for doing this kind of stuff.
    I myself got snookered a couple of times by this kind of crap and finally gave up trying to play catch up to their acronym of the day.

    --

    War is necrophilia.

  10. Re:How to pronounce C# by BitchLick · · Score: 1

    Splat is *

  11. C variants by Animats · · Score: 2
    Bell Labs has no less than three experimental language variants which are roughly similar to C/C++.
    • C+@ was a more-dynamic version of C++, with polymorphism. C+@ predates Java, It's been forgotten, probably because nobody can find it with a search engine.
    • Plan 9 comes with a compiler for a nonstandard dialect of C (not C++).
    • Inferno uses Limbo, which is a simplified language about halfway between C++ and Delphi.

    Do we have a link for "C#" yet? If you search for "C#" with the main Microsoft search engine, all the hits are irrelevant, as you'd expect.

    1. Re:C variants by QuoteMstr · · Score: 1

      C++ *does* have polymorphism.

    2. Re:C variants by Animats · · Score: 2
      C++ *does* have polymorphism.

      Terminology problem. See the OOP FAQ for the full taxonomy of forms of polymorphism.

      The key issue is this: if B is a subclass of A, and A does not declare foo but B does, can you call foo on an A if the A is also a B? In Java, C+@, and Smalltalk, the answer is yes. In C++, the answer is no. This is why C++ needs templates.

      We don't know yet which camp "C#" is in. Probably the "yes" camp; the run-time overhead is higher, but the language is simpler.

    3. Re:C variants by QuoteMstr · · Score: 1

      Ahhhhhhhhhhh, I see. Are those called anonymous methods?

  12. Re:C "pound" by Augusto · · Score: 1

    It's a set up! I've been conned! I don't know how else to refer to people from the US, other than American.

    Well I had to get you with something :) In Spanish, we call them "Estado Unidenses". Sounds like it's high time to make space for a new word in the English language. That or use the word "gringo".

    When I came to work in the US, I had no idea what people were talking about: "pound define", what the bloody 'ell is that?

    Well, maybe my post is too US (not American) centric. I'm from Panama, so I have no "bloody" (love that word) idea how they call "#" (in a programming context) in other English speaking countries.

    So, for many (not most or us) US "C/C++" programmers, "C#" may seem like "C pound". Did I get my statement right now ? :)

    --

    - sigs are for wimps.
  13. Re:Java Virtual Machine is not tied solely to Java by Keith+Russell · · Score: 2
    Never.

    Take it from a Visual Basic programmer. The models are too far apart. Theoretically, if VB can compile to its own p-code, it can compile to Java bytecode. But the resulting executable would simply blow goats. VB always was, and always will be, a Windows-only development tool. This has allowed MS to highly optimize VB for Windows. It's not meant to be portable.

    Besides, Microsoft is leaning more toward C++ with VB. Starting with 5.0, VB added native x86 support by compiling down to VC++'s object format, then using VC++'s linker to produce the .EXE. Visual Studio 7.0 will put Basic, C++, and InterDev in the same IDE, with mixed projects. And improvements to the actual language will give VB7 real objects, with inheritance, polymorphism, structured exception handling, and more.

    Here's the final nail in the coffin. I just came back from VBITS, and Microsoft's VStudio product manager was there. He delivered Monday's keynote, which was a preview of VB7, and moderated a Q&A that night. When asked about the future of "Java" at Microsoft, he said this:
    J++ is in limbo right now.
    Sun's lawsuit against Microsoft (which is, admit it, nothing more than a pissing contest) has J++ tied up in knots right now. Microsoft can't make a move in the Java space without conceding to Sun, which billg's pride won't let him do. Therefore, C#. All of the language benefits of Java, without Scott McNeally's MS-wannabe oneupsmanship.

    Of course, all of this talk about C# is speculation right now. I'm eager to see the details, especially considering that there was not a word about C# at VBITS. Plenty of SOAP (which is a very Good Thing, BTW), but no C#.

    Every day we're standing in a wind tunnel
    Facing down the future coming fast
    - Rush
    --
    This sig intentionally left blank.
  14. Re:Boldly Going Where Juice Has Gone Before... by naloxone · · Score: 1
    I'm not sure about Juice's security model. It's been a few years since I messed with Juice, and then only because I was doing research on Oberon.

    However, everything associated with Juice is open-source, and the API is documented. If you're curious, you can check it out here.

    It's all a bit rough, but I think all it would take to turn this (or at the very least, the model on which it is based) into something really useful and promising is to get an active group of people maintaining and improving it. It's certainly interesting as a cross-platform development tool, completely outside the browser. Anyone interested?

  15. Re:No Way! by Auxon · · Score: 1

    The reason why VB is not used for those critical applications (and you are wrong about it being desktop only, there are TONS of VB and SQL Server developers who write client server and n-tier apps, that do the job that needs to be done, in less development time than C++ and Java), is that it's not object oriented and doesn't allow free threading like C++ and Java. Visual Basic 7 will have OOP power. You'll see people writing critical applications after VB7 comes out. You may say no, because VB is still not as low-level as C++ or Java, but that's just fine, because VB developers can switch over and make C++ COM+ objects, and use EJBs for the critical parts, and VB for the less-than-critical parts. The languages will mix and match abilities. Since Visual Studio 7 will be an IDE for languages and web development, the components and Web Services will be accessed as if they are native, allowing all kinds of flexibility in your applications. C# sounds like it will allow us to write Java-like programs, but that's just because ANY language you write today SHOULD be based on the good things that other languages provide, like garbage collection, and security built in like Java allows. Just because it is a language designed for the internet doesn't mean they are stealing Java's ideas in the sense that people here make it out. It only makes sense to take Java's benefits. Java took C++'s benefits and culled the good things that other languages of the past brought to mind. C# is obviously being designed for the "programmable" internet, something Java wasn't designed for. It is also designed for Web Services, a concept that Sun is pushing as well as Oracle and many of the big companies that pretend they are all for the OpenSource community, but if you watched Scott McNealy at JavaOne you would realize all Sun gives a damn about is MONEY! They say so, if you just listen to the web casts. Everyone here is acting like Sun is our friend. Bull. That's so untrue, they would LOVE to be in MS's shoes (pre-trial that is). At least we know what MS does with it's power. They built the best browser in the world, FOR Windows. You all think they should build a browser that works as well for Solaris??? That's retarded! That's called stupidity. The reason is, and EVERYbody here should realize by now, that the browser is a platform and will become a tool that accesses components to make customized operating systems in the future, no matter what kind of hardware you are using. You'll be able to pick and choose your components, and design your own OS. If you see that MS's component that controls your video sucks for some reason, then you can use a EJB to do the same, or build your own. All MS wants is to have control over the platform that utilizes these components. Sun does too. So do all the companies in the world. So they will all make their own, and they will run on application servers, with clients on the devices that access the servers. That's what I think will happen. C#VM is made supposedly to allow this to happen more easily, and be language agnostic. That means you should be able to run your old code using this VM. I don't see the problem. We could all write MS, and ask them to please make this available in a license form like Java is, or better. Instead of just making fun and saying it won't work, and VB people are lame beginners - which has nothing really to do with C# anyways. BAH! Java is overrated, and everyone knows it. You just can't admit it. VB is overrated too. They are all shitty. I am just glad to hear about a NEW language that is made to deal with these things. You all should be too, and forget about you biased attitudes.

  16. Re:Wow! Where have we seen this before? by sjames · · Score: 2

    I mean, what's with the blind devotion to WORA concept? I mean, what's wrong with taking the nice language java is and allowing it to take advantage of the underlying platform. sure java was intended to be WORA, but why stop other people from being able to make it do *more things*.

    The entire point of Java is that it will run anywhere. Take that away and it becomes just another OOL that is almost but not quite like C++. We don't need another one of those.

  17. Re:oh horrors! by Malcontent · · Score: 1

    I guess it depends on wheather you are writing desktop apps or server apps. If you are hiring a b2b programmer then VC++ might be useless and cross platform may be required.

    My guess is that the only people who use this are people who still stuck to using VC++ despite MFC, ATL and all that crap. They will finally breathe a sigh of relief and start using this. VB people will never migrate "up". They hate all the changes happening to VB right now. Needless to say no Java programmer will drop java to embrace a new tool especially since it will mean giving up a high paying job.

    Besides in six months MS will change their mind again.

    --

    War is necrophilia.

  18. Re:Ermm.... by Voxol · · Score: 1

    Has anyone seen Canibal the Musical, (Matt and Trey flick)

    Theres a pythonesque scene just like this!

    Semitones Schmemitones (or somethiong like that).

  19. Points of view by Voxol · · Score: 1

    1. Isnt 'C' a trademark of AT&T (whoever)?
    2. I would kill for a simple java to native compiler, ie. java -> ELF.
    3. This isn't it (I got sparked but I was left dry by 'platform independant')
    4. WHAT the BLEEP is Language independance???????
    5. The 'features' of Java I want in my native compiler are, exceptions, referenced object (enough pointers already), and garbage collection. That is all.
    6. This sounds like a java clone (java IS C syntax with a more centralised API)
    7. WHAT the BLEEP is Language independance???????
    8. I meant to do that.
    9. News flash microsoft plans to attack Sun:
    http://www.csharpsarms.com/

  20. Re:Embrace & Extend Again by shambler+snack · · Score: 2

    Insistence over control of the language!@?!?!? Didn't they invent the language? Does GM give its' cars away for free?

    Wrong analogy. That's not the point I'm making. My point is how Sun, not once, but twice, went to two standards bodies (ISO and ECMA) to start the process of making Java a standard. In both cases Sun pulled out of the processes at the 11th hour. I don't have any complaints with Sun controlling Java as long as it is understood up front that this is their intention to do so, and they remain consistant about it . I liked the langauge even before Sun made the grand announcement about seeking standardization, which helped further Sun's cause. It is my feeling that Sun cynically played not only on anti-Microsoft sentiment to further their own position but on the strong pro feelings many have about open standards. It was a one-two combination that helped grease the skids of acceptance in a lot of quarters. Once Sun was assured of its position, however, it realized it had no need to complete either of the standardization processes; they had achieved what Microsoft has achieved, a defacto lockin in a lot of organizations. And many of us felt used because of it.

    The ends never justify the means, not even when fighting against Microsoft. When you use Microsoft's tactics, you're no better than they are.

  21. Re:Too many languages already by aebrain · · Score: 1

    Tried Ada? Yeah Yeah, another Language Religious War Post, Right? Not as such: look at the results of the research. There's religion, and then there's science. Ada's not perfect, just the best of a bad bunch. Some facts: Compilers are free (GNAT) Can generate Java Bytecode (need another free tool to do this though) Stable - 2 versions (83,95) over the last 17 years AND they're both ISO standardised. Yes, code generated for 1 compiler/platform often needs 0 changes to run on another. Even if the original is Ada-83 and the new one Ada-95. I've seen this with 17,000 line add-ons developed on a PC/Doze 3.11 box in another country, ported to and integrated on VAX/VMS, then finally on an embedded system using yet another compiler. (Ok, 3 lines needed changing, bugs caught in the integration). Works just as well for smaller projects too. Most of the functionality of Lint etc is already in the language, no need for expensive tools. Can do anything that Java can do (using standrad libraries), plus it has generics (templates) Basis for Oracle's PL/SQL And finally the US DoD is no longer mandating its use, so we can get rid of the Military Industrial Complex stigma. The same process generated the Internet and Unix BTW, which both have military roots (US DoD funded development). Boeing, Airbus, Tupolev etc use it in all their new airliners (for reliability) and all the (few) experiments have shown development in Ada is cheaper over the lifecycle than C++ anyway. IMHO For Military Big Bux stuff where the Weaponmakers make $$$ out of fixing bugs, they avoid it like the plague, too reliable. (hence the successful pressure by the Beltway Bandits for the DoD to delete the mandate). Downsides: We've had reliable, strongly-typed, OO languages for nearly 20 years now. But quality costs time, you can ship a buggy product that will never be fixable quicker using Wizards and VB (or even C)than a quality one. While we're willing to put up with Blue Screens of Death every day and pay 10% less and not have to wait an additional week, then we'll continue to get C#, VB, Outlook and Worms. for (int i=kBIGARRAYFIRSTi;i Ting described how a Silicon Graphics Ada star programmed > a voice recognition application in 4 1/2 days that used only > 3 percent of the CPU, while the C++ version took two months > and consumed 17 percent of the CPU.

    --
    Zoe Brain - Rocket Scientist
  22. Re:C--, Anyone? by Fergus+Henderson · · Score: 1

    Only one of the developers of C-- is at Microsoft Research. The others are at Harvard (Norman Ramsey), Glasgow (Fermin Reig), Oregon Graduate Institute (Thomas Nordin), and other universities. The only C-- implementation comes from OGI, not MS.

  23. Re:C# != Db by edwdig · · Score: 1

    Nope, actually, it's the 5th string of a guitar. The strings are numbered from highest to lowest.

  24. Re:C "pound" by ncc74656 · · Score: 1
    The honestly expect programmers to pronounce this C sharp , when we all say pound for "#".

    Speak for yourself. "lb." is "pound." "£" is "pound." "#" is "number sign." (Keyboard trivia: shift-3 on a British keyboard gets you "£" instead of "#"...makes you wonder where "#" went. That still doesn't make "#" "pound," though.)

    _/_
    / v \
    (IIGS( Scott Alfter (remove Voyager's hull # to send mail)
    \_^_/

    --
    20 January 2017: the End of an Error.
  25. Re:Embrace & Extend Again by Anonymous Coward · · Score: 1

    If you don't like their control, don't use it! Use something else! Just stop whinning

    People who come from democratic countries tend to whine. It's free customer feedback, if you think in the 'new way.'

  26. M$ Final Solution by wiZd0m · · Score: 1

    Well it is pretty clear in the Bill Gates speach on the new microsoft.net website what they have in mind (Pay attention to minute 21:30 seconds of the speech)

    There is a very strong analogy with what we do now and what we did with windows. And it is even more analogeous for the internet to what we did in 1995 with windows, the browser and the 18 months that followed...Today, it is far more ambitious

    Can it be clearer?

  27. Re:Another M$ ploy to co-opt an existing technolog by Anonymous+Coed · · Score: 1
    Java -- runs on many many platforms (Unix, Win32, Mac, Mainframes & Minis.) Free implementations exist (Kaffe and others) that implement the language specification though they might not be 100% Pure (TM) Sun (R) Java (C) Approved, all-rights-reserved-including-the-dot-in-dot-com.

    C# -- Runs on Windows. Microsoft's idea of platform agnostic is "Look mommy, I made it run on Win95, NT, and 2000."

    But don't worry, you'll probably get what you want. When Microsoft drops Java support altogether in MSIE/windows in favor of C#, the world will probably flock to such a wonderful, consumer-benefit-providing innovation.

  28. Re:lots of existing alternatives by __aaedhn419 · · Score: 1

    A systems programming language is usually defined as assembly compiled and useful for writing OSs, device drivers, BIOSs, boot loaders.

    You did not mean what you said.

  29. Re:C# != Db? Depends on your tuning by fb · · Score: 1

    Well said, but...

    >In essence, every note in an equal tempered scale is a wrong note!
    With the exception of the octaves, which are exact (that's the whole point).

    On a C tempered scale, B is the worst approximated note, a fact that is quite easy to hear.

    Western music is based on thirds and fifths: the more mathematically oriented among ./ readers might want to build a two dimensional grid with
    powers of 3/2 on one axis and of 5/3 on the other one to see what happens and why the equal tempered tuning was introduced.

    People who know about the continuous fraction expansion of real numbers may also find out why 12 semitones were used by expanding log(3/2) and log(5/3) [well, the historical reason has little to do with continuous fractions, which merely provide an explanation]. IIRC (I am probably slightly off) the next best approximation are at 42 (good third and bad fifth) and 54 subdivisions, both are quite unpractical.

    --
    fB
  30. Re:Worse is *not* better by __aaedhn419 · · Score: 1

    Imperative programming (OO or non), for better or worse, will be the standard for quite some time.

  31. Re:C "pound" by Black+Parrot · · Score: 2

    > Yet another lame MS "techonology" marketing name.

    "Remember, it's spelled 'C#', but it's pronounced M-O-R-E-C-R-A-P-F-R-O-M-M-I-C-R-O-S-O-F-T."

    --

    --
    Sheesh, evil *and* a jerk. -- Jade
  32. Re:C "pound" by JonK · · Score: 1

    We've been known to call them "septics" - septic tanks - Yanks (the rest of the formation, and the subtexts, are left as an exercise for the reader)
    --
    Cheers

    --
    Cheers

    Jon
  33. HURRAH!! A CROSS PLATFORM VIRUS DEVELOPMENT KIT by 101010 · · Score: 1

    Now if we can get M$ to port Outlook and Exchange to Linux/BSD some 14 year old in a third world country could shut down the WHOLE internet. They'll probably give C# the same unrestrained access to key system resources they've given to vbs only with more "features."

  34. Re:Gotta love the quotes... by Enoch+Root · · Score: 1
    Hey there. I've stuck around, just tired of posting unless something really piques my interest, which your comment did. :)

    I understand the distinction you make... The point is noted! Indeed, there are a lot of problems with Microsoft products, but I felt it worthwhile to point out that trying to create a product that is easy to use is not a flaw. Microsoft's flaw, in my opinion, is confusing 'easy to use' with 'easy to mess up'.

    As for Assembler, it may be very powerful, but it stands in my mind as very user-unfriendly. Old-school hackers may call it the ultimate language, but I dunno... I kinda like using a flexible editor and strong, intuitive language! Even if that marks me as less 'hardcore'. And no, that doesn't mean I'd like a paperclip to comment my code! :)

    You are perfectly right, however, in pointing out that COBOL and DOS BATs are very good examples as well. :)

  35. Re:M$ sucks fp?? by Konings · · Score: 1

    Win 2000 here with netscape 4.73. No problems either, it just asked me once if I wanted to let it run netscape, I told it no, and the page stopped loading. Might cause a problem in IE, but I don't use that piece of junk so I'll never know.

  36. Oh crap, so much for C++ on NT. by Oestergaard · · Score: 1

    Now I see why VC++ is about the crappiest C++ compiler on the MS OS market. Everyone's busy doing other languages, or, perhaps more likely, every competent compiler writer left microsoft a few years back so now they have to make up a language simple enough for them to write a compiler for it.

    If you defend VC++ then you don't know C++. Trust me.

    A few years back GCC was a very poor C++ compiler, it actually only understood a small subset, and I'm sure VC++ was superior at that time. Then the standard was finished, and someone fixed GCC big time. Today I can take samples from Bjarne's book, compile them on GCC, and collect ``internal compiler error''s from VC++. Or random parser errors. I've ``fixed'' software by inserting function prototypes between class declarations, redefining ``protected'' to ``public'' and the likes, on windows.

    Best of all, Microsoft gives no feedback to normal users that turn in bug reports, they give no dates on service releases/upgrades, nothing. If you use C++ you're pretty hosed with the MS solution. Now it seems that we're going to be _really_ hosed, now that microsoft has a new language we should all favour.

    If you think of what Java did to sun, imagine what this new language will do to the already poor (nah, missing) support for C++ on MS platforms.

    I'll make sure to hire someone to make GCC run well for us on NT. It's time to bail.

  37. Re:This acronym is a no-brainer by Tofuhead · · Score: 3

    Why not get the stoners on our side with GANJA? Cuz Ganja Ain't No JAva, mon.

    < tofuhead >

    --
    It is still the dark of night.
  38. C# and the Many Things Microsoft Claims It Isn't by naloxone · · Score: 1
    "Yesterday, Microsoft executives denied that C# was related to the rumored Cool project."

    For once, I have to agree with Microsoft. C# is not cool.

  39. Re:Another M$ ploy to co-opt an existing technolog by jon_adair · · Score: 1
    This is a very typical strategy from M$: mirror an existing technology, add enough "features" that it's not compatible, then use their market clout to shove it down everyone's throat.

    MSMQ is the result of this strategy applied to IBM MQSeries

  40. C "pound" by Augusto · · Score: 1

    The honestly expect programmers to pronounce this C sharp , when we all say pound for "#".

    Yet another lame MS "techonology" marketing name. LOL !!!

    --

    - sigs are for wimps.
    1. Re:C "pound" by SirKron · · Score: 1

      But of course! They had to release their own language because Judge Jackson is most likely will require them to release their API sets. Why release them to the public using a common language when M$ can make more C-(h)ash this way.
      I can hear Bill laughing in the court room now :)

      Brian Kronberg

    2. Re:C "pound" by Konings · · Score: 1

      Yeah, or call it C! and expect us to call it C Exclamation Point instead of C Bang. Idiots.

    3. Re:C "pound" by Zico · · Score: 1

      For what it's worth, "shebang" originates from "sharp" + "bang", not "she" + "bang".

      Cheers,
      ZicoKnows@hotmail.com

    4. Re:C "pound" by keli · · Score: 1

      Actually it is more likely it originates from "shell" + "bang" - as it specifies a shell interpreter.

      BTW. I've heard it originally was a machine instruction on the PDP-11...

    5. Re:C "pound" by johnmc · · Score: 1

      we all say pound for "#".
      this is crap... for those of us that actually use pounds for currency, # = hash and £ = pound.

      --
      -- johnmc.
    6. Re:C "pound" by voltane · · Score: 1

      What about issue? As in magazine #1. C-issue? Sounds like we caught something....

    7. Re:C "pound" by jejones · · Score: 1

      Looks like for all the nonmusicians the C# has gone flat.

    8. Re:C "pound" by lamz · · Score: 1

      "It comes from pronouncing #define as 'pound define'."

      I always say "number-define."

      Mike van Lammeren

      --

      Mike van Lammeren
      It will challenge your head, your brain, and your mind.

    9. Re:C "pound" by lamz · · Score: 1

      "Yet another lame MS "techonology" marketing name. LOL !!!"

      The first thing I'm going to do with C# is write some programs for MS Bob.


      Mike van Lammeren

      --

      Mike van Lammeren
      It will challenge your head, your brain, and your mind.

    10. Re:C "pound" by DrEldarion · · Score: 3

      You might be onto something there... C-Hash... CHash... sounds remarkably like 'CASH' doesn't it? This is the real reason MS is making this language.

      Although I'm sure we had figured that out already.

      -- Dr. Eldarion --

    11. Re:C "pound" by riffraff · · Score: 1

      Being ex-military, I pronounce it "crosshatch".

      lsd

    12. Re:C "pound" by slickwillie · · Score: 1

      i've always pronounced "#" as "sharp".

      Really, you say "sharp define" for #define, "sharp ifdef" for #ifdef, "sharp pragma", etc? It must be a real joy to have you in a code review.

    13. Re:C "pound" by TheShrike · · Score: 1

      This is actually short hand for "Cttt", drawing on the fact that the octothorpe symbol (i.e. #) is a small tick-tack-toe game, and the lowercase "t" resembles a + sign. Ergo, C+++, or "C tick-tack-toe".

      --

      --
      If R is the set of all sets which don't contain themselves, does R contain itself?
    14. Re:C "pound" by Happy+Monkey · · Score: 1

      How about C-Number-Sign...
      ___

      --
      __
      Do ya feel happy-go-lucky, punk?
    15. Re:C "pound" by fedos · · Score: 1

      Or C-Tic-Tac-Toe

    16. Re:C "pound" by Rozzin · · Score: 1

      Those of who program in INTERCAL call it "mesh".

      --
      -rozzin.
    17. Re:C "pound" by perlmonger666 · · Score: 1

      oh oh I want a glibc# port! And a GTK# port.

    18. Re:C "pound" by MisterDruid · · Score: 1

      Strange, in Perl $#a == 3 if @a = (1,2,3,4). That is the index of the last element of list @a (counting first element as 0) and not the number of elements (4).

    19. Re:C "pound" by Augusto · · Score: 2

      INTERCAL ???

      It's true, there are too many languages !!!

      --

      - sigs are for wimps.
    20. Re:C "pound" by Snibor+Eoj · · Score: 1

      Those who program in INTERCAL are gluttons for punishment anyway...

    21. Re:C "pound" by Paul+Neubauer · · Score: 1

      Odd, I'm quite used to '#' being 'sharp.'

      But then I'm also used to '@' being 'fetch' and '!' being store, too.

      --
      I don't subscribe to RMS's GNUtopian vision.
    22. Re:C "pound" by cactopus · · Score: 1

      I think C-pound hits it right on the head. As in using MS-oft's language you have to pound your computer into submission C what I'm sayin.

    23. Re:C "pound" by Golias · · Score: 2
      Strange, in Perl $#a == 3 if @a = (1,2,3,4).

      That's because most *n[iu]x scripts, including shells and Perl scripts, start counting at 0... $# is the # of the last argument, not the total of the list. (It works well when you are counting arguments from a single command, because the command itself is 0, so $# will equal the number of args that follow the command.)

      --

      Information wants to be anthropomorphized.

    24. Re:C "pound" by Particle+Man · · Score: 2

      On a touchtone phone it's also called an "octothorp". So we should pronounce this "cock-toe-thorp."

    25. Re:C "pound" by cactopus · · Score: 1

      Or the sounds of thunking code.

    26. Re:C "pound" by Augusto · · Score: 1

      Oh boy, I'm not trying to speak for everyone, don't be so literal !

      This explains better what I'm saying.

      Oh, man, why did I ever bring this up. This is worst than a coding standards meeting :)

      [OFFTOPIC]
      If you're so picky with words, then you should realize also that Canadians are "Americans" just like Mexicans, Peruvians and Panamenians.
      [/OFFTOPIC]

      --

      - sigs are for wimps.
    27. Re:C "pound" by MrBogus · · Score: 1

      Well, it's better than "C00L" (the code name).

      --

      When I hear the word 'innovation', I reach for my pistol.
    28. Re:C "pound" by Malc · · Score: 1

      Even after living in America for three years, I still catch myself calling it "hash define". I should use the musical parlance, it sounds better!

    29. Re:C "pound" by smileyy · · Score: 1

      I don't. I say "hash". "Pound" I reserve for the funky British L-shaped currency symbol which I could display here if I remembered the correct HTML entity for it.

      --
      pooptruck
    30. Re:C "pound" by monas · · Score: 1
      I teach perl classes. And I do this in Lithuanian. And unfortunately we do not have traditional name for symbol # in our language. But I need to spell it from time to time. So I spell "criminal" or "criminal sign" (in translation).

      So, I suppose M$ choose correct symbol for naming it's invention.

    31. Re:C "pound" by Augusto · · Score: 1

      Maybe. But not that much better ...

      Cool seemed to be targeted at teenage programmers, with C "sharp" I think they're going after the programmer musicians.

      --

      - sigs are for wimps.
    32. Re:C "pound" by Golias · · Score: 2
      You might be onto something there... C-Hash... CHash... sounds remarkably like 'CASH' doesn't it?

      Perfect! We can just agree that the "-H" in "C-Hash" is silent.

      Practice saying it with me: "This app was written with Microsoft Chash."

      :)

      --

      Information wants to be anthropomorphized.

    33. Re:C "pound" by TheTomcat · · Score: 2

      The honestly expect programmers to pronounce this C sharp , when we all say pound for "#".

      This comes somewhat naturally (pun intended) for those of us who read music.

      (# is the musical symbol to augment a natural note a half tone, making it sharp)

    34. Re:C "pound" by MrBogus · · Score: 1

      As in 'Were they smoking hash when they thought this up?'

      --

      When I hear the word 'innovation', I reach for my pistol.
    35. Re:C "pound" by Malc · · Score: 1

      "when we all say pound for "#""

      Who's we? You and your five other split personalities? I don't think you're in a position to speak for everybody. I'll let you get by (I'm generous like that ;)) speaking for Americans (and perhaps Canadians), as nobody else in the world calls it pound. It's the hash symbol, unless in music, when it's sharp.

    36. Re:C "pound" by Hard_Code · · Score: 2

      I don't say "pound". I say "hash". What the heck does "pound" have to do with it anyway? (yes, it was the symbols for the pound measurement or somesuch, but that is pretty much irrelevant usage).

      --

      It's 10 PM. Do you know if you're un-American?
    37. Re:C "pound" by codegen · · Score: 1

      I thought C-Pound, and then I thought
      that several copies would be equivalent
      to the proverbial several hundred(C) pound
      gorilla.

      --
      Atlas stands on the earth and carries the celestial sphere on his shoulders.
    38. Re:C "pound" by Augusto · · Score: 1

      It comes from pronouncing #define as "pound define".

      --

      - sigs are for wimps.
    39. Re:C "pound" by wuice · · Score: 1

      C-Octothorpe!

    40. Re:C "pound" by otis+wildflower · · Score: 1

      Actually, it's 'she', as in 'she-bang' for #! ...


      Your Working Boy,

    41. Re:C "pound" by extar-bags · · Score: 1

      not *all* of us do. we of the INTERCAL bent pronounce it "mesh".

      --

      ----------
      "Rock over London... Rock on Chicago..." -Wesley Willis

    42. Re:C "pound" by Krollekop · · Score: 1
      And my fellows and I say C-cardinal. That's how we called it back in school.

      E={"a","b","c","d"}
      #E=4

      E contains 4 elements, hence E's Cardinal equals 4.

    43. Re:C "pound" by Malc · · Score: 1

      "Did I get my statement right now ?

      I'm still not quite there yet...

      <voice from="Peanut gallery" volume="loud"> Enough already!</voice>

      ;)

    44. Re:C "pound" by seagis · · Score: 1

      >> Yet another lame MS "techonology" marketing name. LOL !!!

      Technology? I think not.

      Rather, I think that things like this are what they mean when they use the word "innovate."


      if ($post eq "finished")
      {
      print "sig\n";

    45. Re:C "pound" by Spire · · Score: 1

      You have a valid point there.

      "C sharp" is a musical term; it denotes a musical note that is one semitone higher than C. The musical sharp symbol actually looks quite different from the "#" pound (a.k.a. octothorp) symbol. A musician would never confuse the two.

      The problem is that there is neither a proper sharp symbol on most keyboards nor a proper sharp symbol in most commonly-used character sets. As a workaround, the somewhat similar-looking octothorp is used instead.

      However, I think you'll agree that "C sharp" sounds a little bit nicer than "C octothorp" (or "C pound", or "C hash"). So we make a compromise and say "C sharp", but type "C#".

      --
      begin 644 .sig22&%I;"P@9F5L;&]W(&=E96 LA`end
    46. Re:C "pound" by Malc · · Score: 1

      It's a set up! I've been conned! I don't know how else to refer to people from the US, other than American.

      And I don't know how this explains what you're saying. My point still stands. When I learnt to program (at school, university and my first job), never was it refered to as "pound", always "hash". When I came to work in the US, I had no idea what people were talking about: "pound define", what the bloody 'ell is that?

      I'm quite enjoying this coding standards meeting. Damn, if I hadn't done any work this week, nobody would know because we haven't even got past the initial header guards!

  41. Too many languages already by Ars-Fartsica · · Score: 1
    There are at least three languages to handle any problem space. Adding yet another to the mix is really silly.

    As it stands, any Windows seem to be already split between VB and C/C++. Are any of them going to swithch?

    1. Re:Too many languages already by Dyolf+Knip · · Score: 1
      That's funny, I had a summer job writing VB and when my classes started in fall I jumped right into Smalltalk/Squeak. And to think I got an A without being able to wrap my head around it.

      But you're right, it's a crummy language. Last thing we need is another M$ proprietary language.

      Dyolf Knip

      --

      --
      Dyolf Knip
    2. Re:Too many languages already by Sig��l+11 · · Score: 1

      *Ahem* VB is an object based language - the Class Module gives all object oriented features to Visual Basic.

      --

      -o Disclaimer: My employer doesn't even agree with me about C indentation style. o-

    3. Re:Too many languages already by Tom7 · · Score: 1


      The same way they abused their monopoly to crush out Netscape.

      They'll bundle support for C# servlets with their web servers. They'll revoke licenses of companies which try to value-add Java servlets to their web server. etc. etc.

    4. Re:Too many languages already by traused · · Score: 1

      How is Microsoft supposed to compete with Java with this new product? Java has been around a while to be refined and adopted by many people. Microsoft will be at square one. Besides, many people use Java partialy to get AWAY from Microsoft, why would they go BACK to Microsoft???

      --
      I dont have a .Sig yet
    5. Re:Too many languages already by CausticPuppy · · Score: 1

      VB also doesn't have true polymorphism, one of the "accepted" attributes of an OO language. In VB you have to fake it with late binding (dim "as object" now, SET later)

      --
      -CausticPuppy "Of all the people I know, you're certainly one of them." -Somebody I don't know
    6. Re:Too many languages already by plague3106 · · Score: 1

      VB is in the same state (kinda) C++ is in; it has OO principles tacked onto it as an afterthought. I can write a vb program with no objects. So to say its object based is incorrect (as would be saying c++ is object based).

    7. Re:Too many languages already by Rombuu · · Score: 1

      There are at least three languages to handle any problem space. Adding yet another to the mix is really silly.

      Hell Pascal is turing complete. I therefore suggest everyone program everything in pascal forever. Thank you.

      --

      DrLunch.com The site that tells you what's for lunch!
    8. Re:Too many languages already by a42 · · Score: 1
      True, true.

      As a C++ programmer (primarily Microslop, if you must know) I would really prefer to not even discuss Java: don't like it, don't want it, don't need it. If "C#" is, as it sounds, C++ with garbage collection and other whiz-bang Java "features" then I feel the same way: keep it away from any project I'm working on.

      I can't personally speak for VB programmers as I am not one. (IANAVBP?) However, I have associated with more than my share of them in my life. My experience is that they just can't wrap their heads around Java or C++ (or anything even remotely object based for that matter). I expect the same to be true of C#.

    9. Re:Too many languages already by felis_panthera · · Score: 1

      Hell no, for Linux development I use C++ and Perl, for Windows development I use C++, for web applications I use Java and Perl... why, when I have all of these tools already available, am I going to go through the trouble and pain of learning a new language. I don't care how much like C/C++ and Java it is, it'll still have differences and quirks that I'll need to learn... and since it's from MS it's going to be things like "Oh, declaring an int there causes the compiler to crash..." or "Oh, compiling this program causes Windows to shit itself". After using VB, I have decided that M$ just shouldn't make languages...

      note to Bill: all your stuff sucks, stop making more of it...

      --

      The chains are broken
      Loki is free
      Ragnarok is at hand...
    10. Re:Too many languages already by E1ven · · Score: 2

      MS doesn't want to pull people from either. They want to pull prople away from Java.
      Java Scares microsoft. It is Cross-Platform. Their attempts to extend and embrace failed. It is growing.
      Microsoft needs to get people away from Java, and quickly. This is their latest evil plan.

      --
      Colin Davis
    11. Re:Too many languages already by a42 · · Score: 1
      Not a good analogy. Adding OO to C to make C++ is kinda like building a SUV on passenger car frame. What was done to "objectify" VB is kinda like building a circus truck from a skateboard.

      Seriously, C++ is not a "pure" OO language. It is, however, a pretty good general purpose language that embodies many of the principles of OO. IMHO it is more useful than "pure" OO languages such as Smalltalk.

    12. Re:Too many languages already by GenCuster · · Score: 1

      As a programmer whoes first language was VB I can tell you this much, once you fall into the VB trap it is hard to get you head around anything else. I am learning Python at the moment and it took me about a week to forget my VB bias. The minute I did all my programs got a lot better. Even the few I still had to write in VB.

      --
      "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
  42. Always innovating by lalas · · Score: 1
    Where would we be if it wasn't for these great new ideas M$ keeps coming up with?

    This may very well end up as a good language, but will we be able to take the marketing blitz and spin that will come with it?

  43. Documentation? by sugarman · · Score: 3
    So when's the first O'Reilly book come out?

    I mean, we all know it ain't for geeks until there's an O'Reilly book, right?

    --
    --sugarman--
    1. Re:Documentation? by Fnordulicious · · Score: 1

      More interestingly, when the O'Reilly book for Dflat does come out, what will the animal be?

      The Labrador puppy with a stupid look on its face was excellent for VB, as was the inscrutable kitty for UML. Ants for Oracle worked well. And the rat for "Learning Python" was very appropriate.

      Hmm... An albatross (like the one hung around one's neck)? A baboon?

      Oh, I've got it -- a poodle. Cute, but coddled, noisy, and annoying.

      Aside: The C#/Db joke is a good one, and the slight but noticeable (and incompatible) difference between these two notes has even more tasty flavor when you consider the slight but incompatible difference between this bogus language and the more accepted and well established norms.

      (And yes, there *is* a difference even with equal temperament dammit! I play viola, and I *know* when I've hit the wrong one!)

    2. Re:Documentation? by felis_panthera · · Score: 1

      it ain't for geeks until there's an O'Reilly book

      I can refute that statement with a single URL. As we all know... VB isn't fit for ANYONE, especially not geeks.

      --

      The chains are broken
      Loki is free
      Ragnarok is at hand...
    3. Re:Documentation? by McFarlane · · Score: 2

      now now,

      "it ain't for geeks until there's an O'Reilly book"

      doesn't mean

      "if there's an O'Reilly book it is for geeks"

      you know the whole Socrates is a man thing
      Basic Logic - but I'm sure you knew that already

      --
      [We don't come from a planet. We come from a grid sector.]
    4. Re:Documentation? by Chris+Hind · · Score: 2

      so what if there's an O'Reilly VB book? The original post claimed that "there's an O'Reilly book" was a necessary condition for something to be "for geeks", not a sufficient condition. You'd have to find something for geeks for which there is not an O'Reilly book to refute this.

      --
      nal 11
    5. Re:Documentation? by Zachary+Kessin · · Score: 2
      Probably be a while, O'Reilly like to let a technology get out of Vapor before they start working on a book. (Which is fine by me, it leeds to much better books).

      The Cure of the ills of Democracy is more Democracy.

      --
      Erlang Developer and podcaster
    6. Re:Documentation? by Nyarly · · Score: 2
      You'd have to find something for geeks for which there is not an O'Reilly book to refute this.

      Really? Where can I get the O'Reilly book on Chicken Eating, then? And, more to the point, what animal would they choose for the cover if they did decide to include carnival geeks in their customer demographic?

      Ushers will eat latecomers.

      --
      IP is just rude.
      Is there any torture so subl
    7. Re:Documentation? by Craig+Maloney · · Score: 1

      Does anybody else find it humorous that the O'Reilly books for VB have dogs on eh cover... as in "This language is a dog"?:)

    8. Re:Documentation? by twofiftyfive · · Score: 1

      VB isn't fit for ANYONE, especially not geeks.

      True, but "if there's no O'Reilly book, then it's not for geeks" doesn't imply "if it's not for geeks, then there's no O'Reilly book", to paraphrase the original statements.
    9. Re:Documentation? by Dan+O'Shea · · Score: 1

      O'Reilly has yet to produce the following defintive geek guides: 1. Natalie Portmann in a Nutshell 2. Managing Hot Grits down your pants Then of course we'll see the other publishers: Natalie Portmann Unleashed! Hot Grits down your pants for dummies Learn Hot Grits in 21 days Natalie Portman: Quick Reference et al... Dan

    10. Re:Documentation? by Paradise_Pete · · Score: 1

      Does anybody else find it humorous that the O'Reilly books for VB have dogs on eh cover

      I don't get it.

      ... as in "This language is a dog"?:)

      Oh, ok. Now I get it.

    11. Re:Documentation? by Fishstick · · Score: 1

      Hmmm... the one we have in the office here looks like a Sea-Lion.

      --

      There is much cruelty in the universe, John.
      Yeah, we seem to have the tour map.

  44. MSC, eh? by Animol · · Score: 1

    The problem with this is - you guessed it - proprietary development systems. And, the fact that it's one more resource that they could conceivably lock into Windows, monopoly or not.

    Enough complaining, though, about MS - the other thing is that from what little I've seen on it, it looks like a really nifty idea. Not to play sides, here, but this is something I'll prob'ly learn and use (for a little while, anyways)

    --

    "I'm not even supposed to BE here today!"
    1. Re:MSC, eh? by dgph · · Score: 1

      I'll learn to use it when it become an ISO standard. LONG LIVE C++.

      C++ gained its popularity long before it became a standard. That's how it works with most languages. You could be waiting for some time. In any case, languages have to properly documented before anyone can use them.

    2. Re:MSC, eh? by dthable · · Score: 1

      Liar! It's just as portable as Java. It runs on Win95, Win98, NT 4, Win2000.... I'll learn to use it when it become an ISO standard. LONG LIVE C++.

  45. Re:Wow! Where have we seen this before? by sjames · · Score: 2

    are confusing Java the programming language with Java the operating environment.

    Actually, I am aware of the distinction. Usually when people refer to just Java, they mean the language, bytecode, and a VM that will run it as specified in Sun's documentation.

    By 'extending' the language, MS came up with something that would only work with MS products, which violated the intent of Java.

    If I write something in ANSI C adhering to posix specs, I expect it to COMPILE and RUN on any posix system with an ANSI C compiler (provided that I stick to libraries available on all platforms).

    For Java, the compiler is expected to accept only standard source, and compile it into bytecode that runs on all compliant JVMs using libraries that will also run on all JVMs.

    gcc does have several non-standards in it, but it doesn't purport that you can freely use those extensions and expect all to be well with other compilers. OTOH, it is more portable than MS Java since there's a gcc for just about anything these days at no cost. How many platforms does MS support?

    Go away, learn IBM COBOL (as used on MVS), learn ICL COBOL (as used on George 3), and then come and talk about language pollution :-)

    I'm not sure I want to know! COBOL is painfull enough as it is.

  46. O.K., C# is a new language (albeit derivative) by dwalsh · · Score: 1

    I've seen the langspec, the reason I posted the above is that I'd read an erroneous news report yesterday which said it was just new APIs.

    What I don't get is how they can claim to have derived a language purely from C and C++ and still come up with something so close to Java.

    --
    ${YEAR+1} is going to be the year of Linux on the desktop!
  47. heavy, man by Rozzin · · Score: 1

    Oh, yeah: anyone who uses a number-system of a base equal to or larger than 13 (ie: hexadecimal) realises that "C#" is "twelve pounds"--that's a pretty heavy language:)

    But, how much do some other languages weigh?

    --
    -rozzin.
  48. Re:What I think... by delmoi · · Score: 1

    Uhh, I've never had System.currentTimeMillis() do that. It just works.

    Well, you arn't using the win32 implementation, then

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  49. Re:Java Virtual Machine is not tied solely to Java by Fergus+Henderson · · Score: 1
    That's absolutely right. There are implementations that target Java and/or the JVM for the following languages,
    • Lisp
    • Scheme
    • ML
    • Eiffel
    • Sather
    • Smalltalk
    • Ada
    • Pascal
    • Oberon
    • Python
    • COBOL
    just to mention some of the more well known ones, and in addition compilers to Java/JVM for the following languages
    • Haskell
    • Mercury
    are under development. All in all there are more than 130 different tools that compile to Java and/or the JVM. See the full list.
  50. Re:Modula-3--all the taste, none of the calories by aebrain · · Score: 1

    As they say, YMMV. Certainly Modula-3 is an excellent language, and arguing whether Ada-83, Ada-95 or Modula-3 is "better" is like arguing the difference between a Ford and a (Pontiac/Opel Holden). Yes there are differences, but it depends on the exact version, and the differences are relatively small.

    But Ada (or Modula-3 or Eiffel) vs C, that's like comparing a Ford (or Opel or Toyota)to a pair of Rollerblades and a JATO pack.

    Thanks for the URL BTW. Here's a good one for Ada:
    http://www.adahome.com

    Also anyone who's seen Oracle's PL/SQL or done hardware design using VHDL has programmed in Ada (though they're probably not aware of it).

    --
    Zoe Brain - Rocket Scientist
  51. Re:Other evil waiting in the wings... by TummyX · · Score: 2

    If you don't like it. Don't use it.

    I personally love the idea of reducing the redundant tasks C++ COM programmers have to go thru.

  52. Re:"... is a hybrid of C and C++"? by broadya · · Score: 1

    How is a language going to be a hybrid of two languages one of which (C++) is already essentially a superset of the other?

  53. It's not MsFUD unless Zico posts it by Felinoid · · Score: 2

    They are clearly not the only good technology publisher.
    I like Sams, McGraw Hill and Prentice Hall.
    Sams would go to people who made electronics and get technical information from them and use that to compile repair manuals for TVs, Radios, and other electronics.
    You could get repair manuals for the Commodore 128, The IBM PC and many other companys.
    Now a days companys have become paranoid. Oh my ghod someone might use that information and make a compeating TV set.

    Anyway O'Reilly is very populare and even used by Microsoft employees.
    They document such things as Microsoft Windows, BSD (Hah sorry Zico they DO have a BSD book) and the palm pilot.

    Zico is basicly full of it... allways is... He has some agenda. No he isn't some Microsoft plant or from the Krull invasion force.
    He has some stake in this. It's probably some stake in Microsoft but that might not be the case. Maybe it's just that you could code crud on a stick and sell it for Windows but couldn't give it away on Linux.

    Anyway O'Reilly is known for having Lary Wall on the payroll. Not for writing Linux books.
    They see themselfs as compeating with "Dumbies" books so when the populare title shifts out of tech books into self help books you find "In a nutshell" not far behind.
    Along with Dumbies and Nutshell I also recomend Sams "Teach Yourself" books...

    Zico should have gotten "Teach yourself Labotomy in a week" instead of "Labotomy for Dumbies".

    --
    I don't actually exist.
    1. Re:It's not MsFUD unless Zico posts it by Zico · · Score: 2

      Where's the FUD? Plus, you took that way too seriously -- it should've been obvious I was ribbing the guy, unless O'Reilly really does produce a Gonad book that I didn't know about. And where's the love for Addison-Wesley? All they managed to do was put out the Stevens book and Knuth -- I'd say that those are closer to computing bibles than anything O'Reilly's released, although the Camel book probably isn't too far off. Wrox deserves some props, too, especially after their new XSLT book.

      And no need to tell me about O'Reilly's popularity. I even remarked in an earlier post today about an MP3 book about my ownership of their books. You're gonna have to get more specific about that BSD book, though -- I just did a quick title search of their catalog at the ORA web site, and "BSD" returned no matches. I'd say they're known for their books and the book covers a lot more than they're known for Larry Wall being an employee. I'd put them well above the level of a Dummies or TY series, just for their thoroughness, and the fact that they actually make very good indices, something which continually frustrates me with otherwise good Wrox books.

      Anyway, I still stand by my original point -- just don't take it so seriously this time. Because my only stake in this is my own amusement.

      Well, that and the Krull invasion force thing.

      Cheers,
      ZicoKnows@hotmail.com

  54. C More-or-Less - was Re:C--, Anyone? by cox075 · · Score: 2

    And then there's this one that did the rounds a few years ago:

    ***New Subject Oriented Programming Language***

    C+- (pronounced "C more or less")

    Unlike C++, C+- is a subject oriented language. Each C+- class instance, known as a subject, holds hidden members, known as prejudices or undeclared preferences, which are impervious to outside messages, as well as public members known as boasts or claims. The following C operators
    are overridden as shown:

    > better than
    > much better than
    forget it
    ! not on your life
    == comparable, other things being equal

    C+- is a strongly typed language based on stereotyping and self-righteous logic. The Boolean variables TRUE and FALSE (known as constants in less realistic languages) are supplemented with CREDIBLE and DUBIOUS, which
    are fuzzier than Zadeh's traditional fuzzy categories. All Booleans can be declared with the modifiers strong and weak. Weak implication is
    said to "preserve deniability" and was added at the request of the D.O.D. to ensure compatability with future versions of Ada. Well-formed
    falsehoods (WFFs) are assignment-compatible with all booleans. What-if and why-not interactions are aided by the special conditional evenifnot X then Y.

    C+- supports information hiding and, among friend classes only, rumor sharing. Borrowing from the Eiffel lexicon, non-friend classes can be
    killed by arranging contracts. Note that friendships are intransitive, volatile, and non-Abelian.

    Single and multiple inheritance mechanisms are implemented with random mutations. Disinheritance rules are covered by a complex probate protocol. In addition to base, derived, virtual, and abstract classes, C+- supports gut classes. In certain locales, polygamous derivations and
    bastard classes are permitted. Elsewhere, loose coupling between classes is illegal, so the marriage and divorce operators may be needed:

    marriage (MParent1, FParent1);
    //child classes can now be derived
    sclass MySclass: public MParent1, FParent1
    { // define MySclass

    sclass YourSclass: public MParent1, FParent2
    // illegitimate

    divorce (MParent1, FParent1);

    marriage (MParent1, FParent2);
    sclass YourSclass: public MParent1, FParent2
    { // OK now

    Operator precedence rules can be suspended with the directive #pragma dwim, known as the "Do what I mean" pragma. ANSIfication will be firmly resisted. C+-'s slogan is "Be Your Own Standard."

  55. Re:Shh! Not so loud! by Shimbo · · Score: 1
    Next thing you know, they'll be producing Python++ and confusing the living hell out of my MS-loving manager!

    Too late! Activestate are doing it for them: Visual Perl and Visual Python will leverage Visual Studio 7.0.

  56. Easy to use? by ca1v1n · · Score: 2

    In my experience, an "easy-to-use" programming language has the result of being horribly bloated, since you have to include features you'd never use, since it's so friendly to have everything already done for you. Reusable code should only go but so far. Personally, I like C/C++ even in its more obscure moments. I like not having to link in complex number handling when I code "Hello World".

    I live now in mortal fear that GCC will support this.

    1. Re:Easy to use? by aebrain · · Score: 1

      "In my experience, an "easy-to-use" programming language has the result of being horribly bloated, since you have to include features you'd never use, since it's so friendly to have everything already done for you"

      "I like not having to link in complex number handling when I code "Hello World".

      Hello world:

      Java

      public static void main(String[] args)
      {
      System.out.print("Hello World");
      }

      Ada 83

      with Text_IO;
      procedure Hello_World is
      begin
      Text_IO.print("Hello World");
      end;

      As you can see, the easy-to-use Ada is bloated beyond belief. In mean, compare the pristine beauty of the "public static void main(String[] args)"
      with "procedure Hello_World is"

      --
      Zoe Brain - Rocket Scientist
  57. Re:Boldly Going Where Juice Has Gone Before... by greenrd · · Score: 1
    I'm curious to see more details on C# to see if it's going to JIT compile to native bytecode or just re# the Java model of running interpreted code on an emulator for a Virtual Machine.

    You're behind the times. Java has had JITs for years. And the latest "JIT", Hotspot, is quite something - it does dynamic optimisation.

  58. "The Microsoft Language" by 1010011010 · · Score: 2

    A friend of mine, after learning to use Visual C++, stopped calling it "C++" and started calling it "The Microsoft Language" or "TML" for short. He said that TML bore little resemblance to actual C++, what with COM and all, and was more accurately described as TML.

    Can't wait to hear his take on d-flat.

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  59. Re:Embrace & Extend Again by ajs · · Score: 3

    Didn't they invent the language? Does GM give its' cars away for free?

    Cars and programming languages have a very different tradition. AT&T Bell Labs is the creator of two of the most popular programming languages in the world: C and C++. The development of both of these languages is guided by the appropriate ANSI committe. Ditto FORTRAN, ADA and many other languages which are managed through standards. Languages like Python, Perl, Scheme and TCL are not managed through standards, but their reference implimentations are open source, and thus wide open to the community.

    That leaves two newcommers as the tidings of an unfortunate trend: Java and Coctothorpe. These languages are strictly managed by their "owners" (as if one can own a language in the first place). This leaves the future somewhat uncertain for those of us who have always assumed that it was obvious to all that open standards are the way you manage a programming language.

    It's fairly moot anyhow. The correct response to Coctothorpe is to evaluate it's usefulness and, if it is deemed worthy, write a GCC front-end for it or (if it's interpreted-only like Java) then a run-time implimentation can be written and open sourced. Until our government (which in the case of intellectual property is rapidly becoming the UN) gets stupid and declares languages patentable, we're OK implimenting our own Java and Coctothorpe.

  60. VB by MrBlack · · Score: 1

    I was looking at the list of features that microsoft intends to add to VB for the next release (VB7), and they are (allegedly) finally adding many of the features that are present in most 4GL's (inheritance, multi-threading). In the words of my brother (a java accolyte through and through) "I've never seen a language try and become java so quickly." Perhaps they will let you compile to java bytecode but how would this aid microsoft? They could make it only run on the Microsoft JVM, but why try and shackle VB programmers to Windows? They are already about as shackled to windows as anyone can be.

  61. Re:Another M$ ploy to co-opt an existing technolog by An+El+Haqq · · Score: 1

    Of course, Sun's control of Java isn't inherently any better than MS's control of their poorly named language. Frankly, no matter which language you choose of the two, you're in bed w/ a corporation that couldn't care less about your rights and privileges.

    Of course, if you're comparing Pokeman attacks, I would have to go with C#. It's name alone is enough to stun the most stalwart programmer, and I have a funny feeling that its API will deliver the killing blow.

    Fudge.

  62. lots of existing alternatives by jetson123 · · Score: 2
    We already have a number of efficient, clean, simple systems programming languages:
    • Oberon
    • Modula-3
    • Limbo (from Bell Labs)
    • Sather
    • real-time Java
    It's too bad Microsoft needs to reinvent the wheel, again. But, I suppose, except for Java, those things don't use enough braces, and RT Java wasn't an option for them.

    Well, if they manage to come up with a language definition that is as decent, efficient, and simple as Oberon or Modula-3 and they manage to make it successful, that's still a big win for everybody. For systems programming, C really needs to be replaced by something that is a bit safer without being a lot more complex. But given Microsoft's track record on language design, I won't hold my breath.

  63. Re:Learn Java before you criticize it by a42 · · Score: 1
    You understand C++, however you do not understand the reason for Java.

    I do understand the reasoning behind Java, honest. "Write once run anywhere" is a cool idea. Not necessarily feasible, but certainly worth aspiring to.

    How much can you be surprised by a consumer-grade language not living up to its hype?

    That's actually a very good point. And (steering back in the general direction of the original topic)I don't think that C# will be any better in those respects. Your point about the smaller subset is shared by quite a few people, Bjarne Stroustrup included.

    I'm not one of those people, though. I'm a control freak -- I'm the first to admit it. Give me a language that I can make do anything in any way I choose -- give me enough rope. Let me decide which features are too complicated.

    I also think (and this is a bit out there) that one thing Sun did really wrong (and I expect MS to do even worse) was making Java like C++. A C++ programmer with no Java experience can look at a Java program and make some sense out of it. It isn't until you actually get into the details that everything starts to feel so wrong. I truly believe that this would be less of an issue if it didn't look so much like C++.

  64. Boldly Going Where Juice Has Gone Before... by naloxone · · Score: 1
    The sketchy details on C#'s model for platform independence make me wonder if it's going to be another Java knockoff or do something really different and interesting like Juice did.

    Juice is a derivative of the moderately cool language Oberon, which is a very cool derivative of Modula-2. But that's not the neat part about it.

    What's really neat about Juice is that while it IS platform independent, it doesn't do this by compiling out to the "native bytecode" of a Juice Virtual Machine. It compiles out to intermediate object code which can be downloaded by a client machine and is then compiled to the real machine's native bytecode with the Juice Just-In-Time Compiler.

    The object code is reasonably compact and platform independent, while the resulting compiled code has the speed advantage of a native program. The standard distribution of the browser plug-in includes a set of standard libraries for common functions and graphic controls which a Juice program can use to reduce its download size greatly if it's doing standard sorts of things.

    If it shares as much as I think it does with standard Oberon, executables can share modules in memory similarly to the way windows apps use DLLs, reducing the memory footprint for running multiple Oberon apps.

    Anyway, I've always felt that Java was a subpar solution because of the speed issue. Juice solves that. I'm curious to see more details on C# to see if it's going to JIT compile to native bytecode or just re# the Java model of running interpreted code on an emulator for a Virtual Machine.

    1. Re:Boldly Going Where Juice Has Gone Before... by gwalla · · Score: 1

      I hadn't heard of this. Does Juice have a security model similar to Java? If it doesn't allow similar restrictions and checking, then it's like cross-platform ActiveX (which, if signed, has free reign to do whatever the hell it wants to your system). If it does have validation, security manager, et al., sweet!


      ---
      Zardoz has spoken!
      --
      Oper on the Nightstar
    2. Re:Boldly Going Where Juice Has Gone Before... by gwalla · · Score: 2
      I'm not sure about Juice's security model. It's been a few years since I messed with Juice, and then only because I was doing research on Oberon.

      Yeah, they don't have any info on security on their site. They'd really need to address this if they were to try to get some widespread adoption. Personally, I think Java's model is particularly well thought-out, but anything that allows the host application to explicitly allow and disallow certain features would work.

      Digital signatures by themselves don't cut it. Trojan horses are too easy to write, and a clever virus writer could easily make his mischief untraceable to even a signed applet. (For more detail, try reading a message I wrote on netscape.public.mozilla.wishlist.

      However, everything associated with Juice is open-source, and the API is documented. If you're curious, you can check it out here.

      Are you sure? The license doesn't seem to fit the Open Source Definition. I may be wrong though.


      ---
      Zardoz has spoken!
      --
      Oper on the Nightstar
  65. python == easy + simple by ErikSev · · Score: 1

    You are really missing the point with all of the microsoft issues. The reason for proliferation of the macro viruses, etc. is not their inherent power (C is far more powerful) but their ability to hook strait to the environment combined with a lack of any sort of permissions and a userbase of people who run every attatchment sent to them.

    Erik

  66. Re:Learn Java before you criticize it by a42 · · Score: 1
    You're an idiot.

    Why? Because I disagree with you? Because I'm not a java-loving sycophant? If those are the only criteria for idiot-hood then sign me up now. My being an idiot must be the reason that I have to turn down job offers all the time. Must also be why I consistently deliver, on time and free of serious bugs, high quality C++ code.

    Learn Java before you criticize it

    Funny, I learned it well enough to bill for it. Well enough, in fact, to write better code than the Java team that came before me wrote. Well enough to clean up their crap and write something better in less time.

    If you are worried about a resource in Java not being returned due to an exception, use finally

    You're not seriously suggesting that it is better for the caller/consumer to clean up after an object than for an object to clean up after itself, are you? Hell, while we're at it, why don't we get rid of constructors and just initialize objects that way too? And who needs those pesky methods? Just unroll all the code and let the caller do it all!!!

    Now go make up another reason for not liking Java.

    No need, Sun has done a good enough job for me. I won't even pick on the speed/bloat issues -- those are too easy. So how about lack of multiple inheritance? (No, inheriting multiple interfaces doesn't qualify as multiple inheritance.) Or do you buy into the Sun party line that MI is "too confusing" for developers to use?

    Do you honestly believe that Java is going to kill C++? Sun can say that all they want -- has been for over 4 years now -- but that just won't make it so.

  67. Reality Check! Re:#define by JimPooley · · Score: 1

    # does not mean pound in the UK....
    I've never heard anyone call it that. It's either hash or sharp.
    In fact, coming from a musical background, I always call it the sharp sign.


    --

    "Information wants to be paid"
    1. Re:Reality Check! Re:#define by Augusto · · Score: 1

      I said it in another reply, but I can't possibly know what "#" is called in all other english language countries. Maybe my post is US specific, I don't know.

      In my native language(Spanish), I don't call it "pound" either. But most (if not all) people I've dealt with in a programming (C/C++) context (even conferences) pronounce it that way.

      It seems this little symbol is quite controvertial !!!

      --

      - sigs are for wimps.
  68. Re:Other evil waiting in the wings... by TummyX · · Score: 1

    Well, what about #import?

    That's 'proprietry', but it's DAMN useful.

  69. Re:Other evil waiting in the wings... by a42 · · Score: 1

    I understand where you're coming from. I make my living doing (mostly) COM in C++. I still don't like the idea of Microsoft (or anyone else) making proprietary extensions to C++. There are almost certainly better ways to accomplish what they're trying to do here. Why not enhance ATL or add some mix-in classes? Macros? Templates? It just strikes me as a "lock-in" kinda ploy and that always makes me suspicious.

  70. Re:Oooo, garbage collection! (sarcasm) by jetson123 · · Score: 2
    Java has not one but two "real destructor" constructs: "try ... finally" and finalization. However, they are needed much less in Java than destructors are in C++, because memory is freed automatically.

    People have found all sorts of uses for C++ constructors/destructors, but when it comes down to it, C++ is the oddball language there, and destructors in C++ cause all sorts of problems.

  71. Re:Oooo, garbage collection! (sarcasm) by jetson123 · · Score: 3

    Reference counting leaks circular references. Reference counting is also inefficient compared to a good garbage collector. And reference counting in C++ fails to give you the runtime safety that a system based on garbage collection gives you. Essentially, there is no way to write portable memory management code in C++ that works as efficiently, reliably, and safely as built-in garbage collection.

  72. Get the terms right! by Steeltoe · · Score: 1

    People should stop confusing the terms of Programming Language, Development Environment, Runtime Environment, and all the implementations of these on one or more OSes.

    Just my 2c.

    - Steeltoe

  73. Re:Wow! Where have we seen this before? by JonK · · Score: 1
    Well, you (and a lot of other people on this thread, but yours was the most blatant example) are confusing Java the programming language with Java the operating environment. In the same way that GCC embraces and extends standard C and C++ (IIRC, nested functions aren't part of standard C), Microsoftr took the Java language (not the Java runtime environment) and extended it so it was better suited for programming Windows.

    Go away, learn IBM COBOL (as used on MVS), learn ICL COBOL (as used on George 3), and then come and talk about language pollution :-)
    --
    Cheers

    --
    Cheers

    Jon
  74. Re:Objective C? by acb · · Score: 2

    Didn't Apple abandon ObjC in favour of C++?

  75. Again you freakin linux morons dont get it do you! by Project_2501 · · Score: 1
    Heheh you all are quick to write off this new language that MS is creating. From a MS developer point of view this is something that we wished for. I don't want to be using ASP when broadband becomes affordable to most households, I want to use a language that is going to be able to interact with me in real time. ActiveX controls as you know are proprietary and Java.. well lets not get into java, no way in hell MS is gonna support Java... so if we don't want to work with Java, then we make our own Java, simple as that.

    Now while all you bitch ass niggas go ranting about how c# is gonna be dFlat or whateva, you fail to realize that this language is going to be used in MS's Next Generation Web Services... this is what you should fear fools! Hehe you guys keep blabbin non-stop about how windows is freakin proprietary and buggy, but wtf cares it aint gonna make a difference in a year or two...heheheh don't ya see... windows as an OS is not going to be around.. and not cuz of the justice department...but because its evolving...hahahah you all don't get it do you.. moe-freekin-rons. You all are going to be eating MS dust in a couple of years, if ya thought you were behind now, just wait for another year or two.... mwahahahahahah

    Taka no Dan no Griffis

  76. Re:Learn Java before you criticize it by Steeltoe · · Score: 1

    "If you want your resources to automatically return themselves, wrap them in Java classes which return themselves during finalize(). I've been doing that with JDBC Connection objects for two years. Works like a charm."

    Isn't the point of finalize() that you should clean up _memory_, not resources?

    "If you want resources that are returned when a exceptional event occurs, take advantage of exception handling. I don't see what's so hard about this, and I don't see what a destructor would add."

    It would add the benefit of automatic recycling of resources allocating their object-counterparts _on the stack_. It would be independent on syntax-scope and object-scope. It could also give you the convinience of telling the computer _excactly when_ the resource and object should be destructed, while retaining the formalization of the constructor/destructor concept, instead of calling an arbitrary Close().

    People who haven't programmed in C++ really don't know what they've been missing out of. This is to much frustration of many C++ programmers that do see weaknesses in Java. Yes, there are many weaknesses in C++ too, so don't take it personally.

    And stop calling people idiots, it only reflects on yourself.

    - Steeltoe

  77. Re:Prof Nyarly on Garbage Collection by Steeltoe · · Score: 1

    This has nothing to do with the problem at all. It is a problem of correctly describing what a function does, what dependencies it requires, etc. In other words: more formalization. Neither Java or C++ have capabilities for this beyond the function prototypes.

    - Steeltoe

  78. Re:Help me understand this... by JonK · · Score: 1

    The answer is that this comment is aimed at the middleware market, where the competition's currently EJB vs. COM+ (with CORBA - specifically the CORBA Component Model - currently a fairly vaporous alternative) If you want to write EJB, you're stuck with Java: COM components, OTOH, can be written in any language (more or less - I haven't seen Befunge, Intercal or Brainfuck wrappers yet :-). The point of this rambling is that C# components will be interoperable with Java components, COBOL components, VB components, C components, C++ components etc while EJBs aren't.
    --
    Cheers

    --
    Cheers

    Jon
  79. Re:Gotta love the quotes... by duffbeer703 · · Score: 1

    I hate to sound like a troll... But isn't Perl powerful and easy to use???? Or is it okay to be dangerous, as long as you are open source?

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK
  80. Re:The bigger story may be NGWS by Project_2501 · · Score: 1
    You sir amongst all your colleagues here in /. *get it* I am amused... someone with a third eye in /. interesting... its about time! Well you probably agree with me then that MS is now going to be stronger than ever.... I suggest to you my good man that you quickly learn COM and XML if you really want to be a part of the future of the internet. Linux ppl are just too close-minded to see what is is that users actually want.

    My 2 dollars

    -= Griffis =-

  81. C-Sharp? No. C-Rootprompt. by brocheck · · Score: 1

    Its not C-Sharp, C-Pound, or ever C-Number. Everyone knows the only thing associated with # is a rootprompt.

    But of course considering this is a Microsoft language I dont expect much but alot of hype, however I would like to see a cross-platform version of C-Rootprompt but it will likely not happen, and will likely be a proprietary language designed to keep a stranglehold on the OS biz.

    --

    suddenly I feel very tired

  82. Re:Embrace & Extend Again by FooRat · · Score: 1

    "Stroustrup has approved the language by the way. Just thought you'd like to know."

    OMG, All hail the great god of C++ Bjarne has said C# is "OK", therefore it must be OK, and can't be MS "embrace and extend".

    Right. Please people, learn to developer your own opinions. Experts can be wrong too, we can't just slobberingly agree to whatever somebody says just because their name is "Bjarne Stroustrup" or "Linus Torvalds" or "Bill Gates" (yes there are many people who hang on his every word too.)

    If it's not "embrace and extend" then give us some technical reasons why it is not, not a "Linus says it is so, therefore it so" type of argument (replace "Linus" with famous expert of choice depending on context.)

  83. nameof("C sharp") == C:\SHIT by mbkennel · · Score: 1

    whoomp! there it is

  84. Re:Source Code =) by Bradley · · Score: 1

    I thought that PLEASE DON'T CRASH was an intercal
    instruction.

  85. Re:Objective C? by kerner · · Score: 1

    Nope. Apple claims that Cocoa is only available via Java or Objective C. I think this is a bit odd, but I guess it's possible. I imagine most people will just write C++ Carbon apps, even though Cocoa gives some cool additions.

    Kerner

  86. Visual Basic is legacy code by ahde · · Score: 1
    Nobody develops anything in vb that is meant to last anymore. If you need a quick and dirty app that will actually be *used* (not just for prototyping) you'll be using java or delphi or the web.

    Cool isn't meant to compete with java though, not primarily. It's microsoft's attempt to take ideas from java (like the sandbox) and integrate them into the windows script host, which by the way, gets more use out of javascript, and increasingly, perl, than vbscript.

  87. Re:Gotta love the quotes... by pb · · Score: 1

    Well, I've been learning Perl lately, actually.

    I concede that it's powerful, but I don't know if I'd call it easy-to-use, precisely. I think a less powerful subset of perl would be useful and easy to learn, but less powerful.

    However, perl is just too big to be that simple, and a lot of its charm comes from its regexps, which are actually pretty complicated, once you get right down to it. It has many handy C system calls and UNIX shell commands, and these aren't commonly regarded as being that easy or obvious.

    And Perl is an interpreted language that supports lexical scoping, has an eval command, does some rudimentary garbage collection, etc., which puts it in the same class of languages as Lisp or Scheme, and that means you can do some weird, whacked-out stuff in Perl. Like writing a program to write Perl for you, and recursively doing something with the results.

    Maybe if you're a programmer, and you spend some time learning it, Perl can be very powerful and somewhat easy to use. But I know there are some gotchas in there, and I'm sure many programmers have found themselves writing Perl code late one night and looking at it the next day, not knowing what it does, or how it does it...
    ---
    pb Reply or e-mail; don't vaguely moderate.

    --
    pb Reply or e-mail; don't vaguely moderate.
  88. Re:This is really good news, actually.... by JonK · · Score: 1
    Slashdot zealot != programming gurus

    I haven't seen Don Knuth posting round here, or ken or dmr for that matter. Since the mixture of individuals frequenting Slashdot is probably about 60% OSS/free software wannabes (i.e. can install Mandrake from CD and believes in his or her right to free MP3s), 10% BSD admins/hackers, 10% Linux admins/hackers, 15% Windows admins/hacker and 5% others (note that these figures come straight off the top of my head and have no scientific backing whatsoever), it is hardly suprising that they're anti-Microsoft.
    --
    Cheers

    --
    Cheers

    Jon
  89. A call for a billing language by tjstork · · Score: 1

    Instead of making yet another object oriented language, modelled on Smalltalk or C++ or Modula 2, I propose, that for the domain space of solving practical problems of billing, that we implement a language to do just that. Imagine a world where instead of stupid things like "objects" talk to each other, where you could actually query billing server hosts, and download and extract the billing information that you need. I write billing engines for a living, and most that I have written I've screwed up in one way or another, but on the same token I'd be willing to work with whoever to make a language that can bill. I'm infinitately better at Windows than I am at Unix C/C++, but, I would prefer a completely open implementation. If I publicized an open source billing engine, targetted initially at energy providers, but extensible enough to deal with telecom, manufacturing, the whole nine yards... would there be anyone else out there willing to help with it, in an FSF sort of way? Or all you all just a bunch of pussies content to do the same damn thing over and over again in your language of choice?

    --
    This is my sig.
  90. Actually... by Anonymous Coward · · Score: 5
    Cool, a language with no syntax.

    When they say C# is language-independent, they're actually talking about the underlying object model, libraries, and runtime platform. It shares the same runtime platform as VB (called the "URT"), and there's no reason any language in general couldn't be made to compile to the URT. In case you haven't heard, Microsoft is also completely revamping the VB language. C# and VB will be almost identical in terms of power and what you can do with them. It seems to me that C# is more or less just an alternative for the people - including most developers at MS - who simply don't like using VB, and, as has already been pointed out, a response to Java. Even the developers at Microsoft admit (amongst themselves) that C# and Java are practically identical languages on the surface. But really, it's more or less equivalent to the new VB, it just uses a C-like syntax.

    They also are producing something called "managed C++", which is mostly a bunch of hacks to the C++ language to allow programs to compile and run on the URT. They are pretty much betting the company on this new platform. The language independence comes from the fact that all managed code (anything that runs on the runtime) uses the same object model and can share libraries. WFC has been implemented on the URT (written in C#), and it also has a bunch of system libraries which are all pretty well designed. The reason they say it's cross-platform is because everything is compiled to run on the URT, not natively. In theory, the URT can be ported to other platforms, and immediately any app that runs on it will run on those platforms. In the future, pretty much EVERY Windows app will run on the URT, so this is a good thing. The libraries for it are very rich, so there's no reason an application would need to use any Windows API calls or the like. The only real problem, of course, is that the URT will still be proprietary and controlled by Microsoft. However, it's not the mess that COM was (despite the fact the it was originally called COM+ 2.0), and may be easier to reverse engineer. The fact that it abstracts away pretty much anything that's Windows-specific (no more registry, among other things) certainly is a good step towards portability.

    In my opinion, the platform Microsoft is working on now is by far the best progress they have made in a long time, and it's long overdue. They've realized that the current Windows development model is broken, and has no future, especially as the Internet takes over. Instead of trying to continually extend what they've done before, they're pretty much completely abandoning the existing infrastructure. They are throwing backwards compatibility out the window, which is what they needed to do a long time ago. Unfortunately, due to the DOJ stuff, I wouldn't be surprised if the public never even sees the fruits of these efforts. I've never liked Microsoft's software or many of the things they've done, but this is something they've got right. I really dislike what they're intending to use it for, which is to offer software as a service over the Internet, but as a development platform, the URT is exactly what the world needs right now. Of all their major undertakings - and this is one of the biggest - it's probably the first which is truly well-designed with the potential to last for a long time.

    A lot of this progress on the URT, C#, WFC, and such can probably be attributed to Anders Hejlsberg, the mind behind Borland's Turbo Pascal and Delphi who moved to Microsoft a few years ago to be the WFC architect.

  91. Re:C--, Anyone? by pb · · Score: 1

    I care. I'm sure the people working on the project cares.

    Hey, "who the fuck cares, if" some big corporation takes my domain name away from me?

    I think that any software project, no matter how big, could take the time to see if someone is already using its name. That's just common courtesy.

    Remember, "Internet Explorer" was trademarked before Microsoft got to it. They didn't seem to check, know, or care.

    Hey, I was just remembering an old programming language fondly. When I realized it might not be the same one, I was disturbed. It seemed to bother you a lot more, though. Chill, dude.
    ---
    pb Reply or e-mail; don't vaguely moderate.

    --
    pb Reply or e-mail; don't vaguely moderate.
  92. Re:My worst nightmare... by JonK · · Score: 1
    Half-way there: continue to join the dots. My guess is that the underlying platform is based on the URP (Universal Runtime Platform) which VB, VJ++ and C# will all be targeted to. It'll also contain a lot of the guts of the products which were wrapped together to form Microsoft DNA: COM+, OLEDB, MAPI, the SOAP stuff etc. Result: an end-run round the DOJ and all approved by TPJ.

    OSCo won't be going away for a while though: they still own the only viable desktop gaming platform (note the use of the word viable). And of course the whole NGWS/URP will run best on Windows.
    --
    Cheers

    --
    Cheers

    Jon
  93. I'd like to add to the fire: by lifebouy · · Score: 1

    "C#" is a poor name. Shouldn't it be "M$"?

    --
    Drop me a line at:
    Key ID: 0x54D1D809
  94. Modula-3--all the taste, none of the calories by jetson123 · · Score: 2

    It seems to me Modula-3 (http://www.m3.org/) is functionally equivalent to Ada and otherwise a much better choice. Like Ada, it has generics, modules, threads, objects, dynamic typing, static typing, and explicitly unsafe modules, but it is a much simpler language than Ada. There are multiple free and commercial implementations, listed at the m3.org site.

  95. cross platform by ahde · · Score: 1

    means it will run on NT4# and Win98 TE (Third Edition.) Ask anyone at Microsoft and they will tell you that they officially support 5 operating systems (windows 3.1 and windows for workgroups were discontinued over a year ago)

  96. Re:Typical Microsoft! by ras_b · · Score: 1

    but that wouldn't be as confusing and difficult to deal with. like the title says, "Typical Microsoft!"

    for all practical purposes, no musician plays in c# anyway. maybe no programmer will write in c#- yeah right, M$ could release a new language called "c-crap" and cronies would drool.

  97. No. by lars · · Score: 1

    The Intentional Programming stuff, though pretty cool, won't be a part of VS7. It's still several years away from being an actual product.

  98. C! already has another name.. by Paul+Neubauer · · Score: 1

    "C-store" -- used to store characters (or other 8 bit data) into an 8-bit Forth variable.

    --
    I don't subscribe to RMS's GNUtopian vision.
  99. Borland C++ Builder by lars · · Score: 1

    Keep in mind that Anders Hejlsberg, the architect behind Turbo Pascal and Delphi is now working for MS, and is the chief architect of WFC and C#. He likely has had a big influence on this. That's why I have much better hopes for it than I usually do with Microsoft's products.

  100. Re:Learn Java before you criticize it by TWR · · Score: 1
    Isn't the point of finalize() that you should clean up _memory_, not resources?

    Nope. From the Java Language Spec (section 12.6):

    "Finalizers provide a chance to free up resources (such as file descriptors or operating system graphics contexts) that cannot be freed automatically by an automatic storage manager. In such situations, simply reclaiming the memory used by an object would not guarantee that the resources it held would be reclaimed."

    One of the nice side effects of finalize() is that finalize() can make an object "live" again. So if (for example) you roll your own connection pool and wrap the JDBC connection objects in a custom class, the connection can return itself to the pool (making itself live again) if the programmer forgets to explicitly return it to the pool. I don't think a destructor can do this, but my C++ is getting rusty.

    It would add the benefit of automatic recycling of resources allocating their object-counterparts _on the stack_. It would be independent on syntax-scope and object-scope. It could also give you the convinience of telling the computer _excactly when_ the resource and object should be destructed, while retaining the formalization of the constructor/destructor concept, instead of calling an arbitrary Close().

    If you don't want an arbitrary name for the resource-returning method, then you can explicitly call finalize(). I don't think there's a way to explicitly call a destructor in C++, though once again, I am getting rusty.

    I think what this debate comes down to is determinism. C and C++ programmers like the illusion that they really KNOW what is going on. Java programmers learn to deal with the fact that behind the scenes, there is some Deep Magic going on. I know what the Deep Magic is (I deconstructed and modified the JVM for a graduate research project), but I don't want to think about it 90% of the time. I'll trust the computer to know what to do.

    It's like an optimizing compiler (which I've written). In some specific cases, you might be able to do better than an optimizing compiler, but in general case, you just can't. Apply that attitude to memory and resource management and you get how I feel about Java.

    People who haven't programmed in C++ really don't know what they've been missing out of. This is to much frustration of many C++ programmers that do see weaknesses in Java. Yes, there are many weaknesses in C++ too, so don't take it personally.

    I've programmed in C++. I've got a BS and an MS in CS. I've built compilers. I know programming langagues. My reasons for not liking C++ are academic, not political or emotional.

    I don't take attacks on Java personally; as I said, I think the marketplace will bear out my opinion on this. What annoys me is people making half-assed claims that are patently untrue.

    And stop calling people idiots, it only reflects on yourself.

    I call's 'em as I see's 'em.

    -jon

    --

    Remember Amalek.

  101. Re:This acronym is a no-brainer by Eater · · Score: 1

    Larry Niven fans will support my vote for TANJ: Tanj Ain't No Java!

  102. Re:Apparently, you don't read music. by TheGreek · · Score: 2

    Yes, but in the course of playing music a different thought process is involved with C# than is with Db. It's really subjective and really weird.

  103. Re:C--, Anyone? by anatoli · · Score: 1
    Yeah, I know all that. Should've say "nice people from M$R and elsewhere". Sorry for confusion.

    The nice point is that M$(R) allows them to continue their work on something that is open source and runs on Linux.
    --

    --
    Industrial space for lease in Flatlandia.
  104. I think WROX deserve a place on that list too. by dwalsh · · Score: 1

    Any others being left out?

    --
    ${YEAR+1} is going to be the year of Linux on the desktop!
  105. Please do not insult Java by such a remark :-) by dwalsh · · Score: 1

    And an IBM guy said it - what a shame. IBM are heavily committed to Java, he should have known the following:

    C# = C++ and some new APIs.

    That does not make it Java. Javas APIs aren't its only advantage over C++. Garbage collection, stronger type checking, threading & synchronization support, exception handling etc. which are in the Java syntax, save developer time and raise the software quality.

    I know this article is going to lead into a religious language war, but lets get this much straight - C# uses C++ syntax.

    What I don't get is Microsoft talking about using a VM. What, are they committed to cross platform capability? Maybe it is the only way to get apps running on NT and '95 and '98 etc. easily. :-)

    --
    ${YEAR+1} is going to be the year of Linux on the desktop!
  106. Re:Revenge of the Coctothorpe by NothingCleverToSay · · Score: 1

    ...and with the penchant of developers to shorten everything, the language will become known as Coct. Which probably means the embedded version for WinCE machines will be half-Coct.

  107. Juice Security by gwalla · · Score: 1
    In fact juice has the potential to be more secure. Java is susceptible to attacks that are based on constructing bytecode sequences that trick the jvm. In juice the Slim Binary technology is used and that means that you can't build something that breaks the scope rules of the language..

    That's an interesting point. Of course, potential is not necessarily reality, but if Juice does have (or develop) a security model, it could potentially outdo Java in this respect too. I'll have to keep my eye on this technology.


    ---
    Zardoz has spoken!
    --
    Oper on the Nightstar
  108. Re:Learn Java before you criticize it by a42 · · Score: 1

    No, you're an idiot because you are mouthing off with an opinion on a subject you are clearly not qualified to evaluate. I don't care how good your C++ is. You are talking about Java. You don't know Java well enough to know basic tips of the trade, and you think your opinion is valid. That makes you an idiot in my book.

    You assume that because I choose not to use Java and dare to point out it's shortcomings that I am not qualified to have an opinion on it. You also feel the need to post inflammatory responses and attack me personally because I hold a differing opinion. In my book, that makes you not qualified to evaluate my qualifications.

    Gee, being able to bill for Java work (or any programming work) doesn't take actual programmng ability, just the ability to convince a PHB that you know what you're doing.

    No PHB's in the picure. Three person contracting company. Worked directly with (client's) technical staff. Helped them ship their products.

    If you want your resources to automatically return themselves, wrap them in Java classes which return themselves during finalize().

    That would be nice if I could have any assurances about when finalize() is going to be called. Java won't guarantee if let alone when finalizers get called. That is, has been, and will continue to be my beef (well, one of them actually) with Java.

    Yeah, I do think that C++ is on the way out for a variety of reasons, including Java. If you can't see the handwriting on the wall, it's your own damn fault.

    You are certainly entitled to think that. Sun would love it if everyone felt that way. Not everybody does. That doesn't make us idiots, nitwits, etc. As I said before, Sun has been screaming for 4 years now that C++. Rumors of the old girl's demise have been much exaggerated.

  109. Re:Other evil waiting in the wings... by a42 · · Score: 1

    Again, I'm not trying to say that proprietary extensions aren't useful. They most certainly can be. Doesn't mean I have to like them.

  110. Re:C# != Db by Golias · · Score: 2
    Nope, actually, it's the 5th string of a guitar. The strings are numbered from highest to lowest.

    I believe you are correct.

    No correction of mine would be complete without another error.

    --

    Information wants to be anthropomorphized.

  111. Get a grip by Augusto · · Score: 1

    Hey moron, I never said I didn't understand that "#" is a musical symbol, just that for a lot of C programmers (in the US), # is usually pronounced "POUND" in a "C PROGRAMMING CONTEXT" (ex: "pound define" for #define)

    Since this is sort of a "C" derivative language, I found it interesting. Are your neurons firing and making some sense now ???

    Whoops, maybe not, you must be brain dead.

    --

    - sigs are for wimps.
  112. octothorpe define by Augusto · · Score: 1

    I have yet to see a programmer say "octothorpe define" for "pound define".

    Does anybody in slashdot remember C ???

    --

    - sigs are for wimps.
  113. Re:Embrace & Extend Again by Sponge · · Score: 1

    Attempt to embrace and extend C++? If that's the case, they're a few miles behind "everyone's" favorite c++ compiler, gcc, which has quite a few extensions to the language which are of course completely non-portable.

    No, rather, I would see this more as the initiation of an attempt by Microsoft to discourage the development of Windows software that's easily portable to other platforms.

    Sponge

  114. Re:oh horrors! by cafebabe · · Score: 1
    (-1 troll, flamebait)

    I disagree.

    I graduated from a computer science department where all development was done on Unix platforms with traditional command line tools. When I started going to job fairs my senior year, I noticed that a large number of companies were advertising for developers with experience in Visual Basic or Visual C++. Frustrated, I asked my advisor why our programming classes used g++ instead of Visual C++ since employers seemed to want employees with experience with visual tools and M$ discounts their products for universities.

    His response was that a good computer science curriculum should teach programming skills, not tools. The tools and languages that are "in vogue" change from year to year, but the same programming fundamentals apply to all technologies. Teaching students programming using Visual Studio or another IDE focuses too much attention on the tool and not enough on the practice of programming. Visual tools also abstract away low-level concepts that are important for a complete understanding of how programs work. Any developer with a good understanding of programming can learn a new tool; a person who does not grasp the fundamentals of programming will have trouble adapting when the "new new thing" comes along. With the dynamic nature of technology, a CS program should teach how to learn new technologies, not the technologies themselves (ex. Instead of teaching C++, teach students about Data Structures and have them prove they understand the concept by using them in a C++ program.)

    After being in the "real world" for a while, I have to say that I agree with everything my advisor said. I have seen coworkers of mine who learned on Visual tools struggle when problems arise in low level or server side code. When my department announced that new development would be in Java instead of PL/SQL & C++, many of my coworkers who were trained in those technologies were concerned about their job security. My coworkers who had mastered the fundamentals of programming were not at all concerned -- they were saying things like "I'll pick up a book on the way home and learn it over the weekend."

    Yes, graduates who already know Visual tools may be more productive in the short term. When you look at the "big picture", however, universities do a much bigger service by teaching traditional programming.

    My 2 cents.

    --
    When violence rules the world outside / And the headlines make me want to cry / It's not the time to just keep quiet
  115. Re:C--, Anyone? by Teach · · Score: 1

    Don't know if the projects are related, but there's been a language called C-- at least since 1995. It's basically just x86 assembler with a C-like syntactic sugar. It was used to create the security software I use in my lab.

    The original page seems to be long gone, but you can download the language and docs here.

    --
    Graham "Teach" Mitchell, computer science teacher, Leander HS
  116. Re:Here's how it works: by spongman · · Score: 1

    i thought i told you to stop reading already.

  117. Re:Troll? by jpowers · · Score: 1

    I post as myself because I stand by what I say. That AC post above wasn't mine, but I don't think it deserved what it got. I got hit with a troll mod, too.

    -jpowers

    --

    -jpowers
  118. Could it be the.. by Mr.+Last+Post · · Score: 1

    ..last post?

    --

    Mr. Last Post
  119. Re:Embrace & Extend Again by myakishnock · · Score: 1

    Overloaded operators is an incredibly ugly feature of C++, one that I am glad is not in Java. It goes against the idea of maintainability. It is a lot clearer to see what is going on with plain method calls than with overloaded operators.

    --
    "People should get beat up for stating their beliefs" - TMBG
  120. It's all a misunderstanding... by JCMay · · Score: 1

    This is just the price for their new system in the UK. C# is obviously meant to be read as "100 Pounds," they just couldn't find the pound symbol on their keyboard.

  121. Hmm? by Anonymous Coward · · Score: 1

    According to what I read on news.com, this is supposed to be a platform-neutral language. Now, that would seem completely ridiculous coming from Microsoft, but the general idea seems to be that instead of losing developers to Java, because it's easier, Microsoft will give them a native, compiled language that is almost as low-level as C++, but as fun and easy to write as Java...

    Sounds cool to me. I've often wished for a Java-like native language when I need a native program.

    -thomas

    1. Re:Hmm? by Zagadka · · Score: 1

      AFC, Microsoft's "Application Foundation Classes" was a class library for Java that claimed to be "platform-neutral". Of course, in actual fact, it relied on bugs in the Microsoft VM, so anything more complicated than "Hello World" wouldn't run correctly anywhere but on Microsoft's VM. I think they've stopped trying to pretend that AFC is really platform neutral by now, but I don't think anyone (except maybe some VB-lovin' MSCE's) uses it anymore, either.

    2. Re:Hmm? by Rader · · Score: 1
      First, it's not MSCE, it's MCSE (microsoft certified system engineer) and secondly, VB is programming, not network administration, so it's MCSD (miscrosoft certified solution developer).

      I enjoy Microsoft bashing better with those who have at least half a clue...

      Rader

    3. Re:Hmm? by Roundeye · · Score: 2

      It's easy to remember if you use mnemonics like "Must Call Someone Else", "Microsoft certified, seldom employable", or even "Major Crisis Starting Expert". Although on the VB issue, given that VB is programming (which is oftentimes a stretch), MCSD can easily be remembered by the handy mnemonics "My Code Suddenly Dies", "Machine Crashed, System Down", "Me Code! See Dialog?" or even "Mouse clicking shape dragger". It's easy with these simple memory improvement tricks!

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
  122. C--, Anyone? by Christopher+B.+Brown · · Score: 5
    Simon Peyton Jones of Microsoft Research has been working on C--: a portable assembly language for quite some time now.

    C-- is intended, as the article suggests, as a "portable assembly language."

    Thus motivated, some colleagues and I have been working on the design of C--, a portable assembly language. C-- has to strike a balance between being high-level enough to allow the back end a fair crack of the whip, while being low level enough to give the front end the control it needs. A major goal is to provide portable support for features needed by advanced languages, such as garbage collection, exception handling, and debugging, without building in a particular garbage collector, exception semantics, or debugging model.
    There actually are some implementations available in source form.

    Microsoft may produce some software of frightening quality, but that doesn't mean that the people that they hire are ignoramuses, but merely that:

    "What you end up with, after running an operating system concept through these many marketing coffee filters, is something not unlike plain hot water." -- Matt Welsh
    --
    If you're not part of the solution, you're part of the precipitate.
    1. Re:C--, Anyone? by FigWig · · Score: 1

      C is already portable assembler!

      Not that there's anything wrong with that.

      --
      Scuttlemonkey is a troll
    2. Re:C--, Anyone? by Larne · · Score: 1

      Simon Peyton Jones is one of the Big Names in functional programming languages, and played a big role in the development of haskell a very
      cool language that I do recommend people check out.

      Hearing that Microsoft is paying his bills and directing his research saddens me a great deal. Although I find it amusing that his paper on calling COM from Haskell and vice-versa is entitled "Calling hell from heaven, and heaven from hell."

      Still, I imagine that if he weren't at MS the paper would be about CORBA or some other standard instead of COM, which would make it much more useful. Pity...

      I'm also surprised that with guys like this on the payroll the best MS can come up with is a warmed-over Java with VB hooks.

    3. Re:C--, Anyone? by _xeno_ · · Score: 1

      Ironically enough, that is the purpose of C--: to replace C as portable assembler. C is an actual programming language; assembly is really just a set of names for opcodes. (Ok, it's more than that, but basically, every instruction in assembly has a one-on-one correspondance with some opcode. Ignoring fun things like macros and the like...)

      --
      You are in a maze of twisty little relative jumps, all alike.
    4. Re:C--, Anyone? by dattaway · · Score: 2

      Don't confuse Microsoft with Microsoft Research.

      Oxymoron?

    5. Re:C--, Anyone? by anatoli · · Score: 4
      I have to repeat this over and over: Don't confuse Microsoft with Microsoft Research. This is like confusing, say, US Government with NASA.

      Simon Peyton Jones and other nice people from MS Research release a Haskell compiler called GHC. It is open-source, multiplatform (Wintel, Linux and many more), and uses GCC as a backend. Did the previous sentence surprise you? They designed C-- because C does not serve well as a backend for a functional language like Haskell.

      Haskell is a cool language BTW.
      --

      --
      Industrial space for lease in Flatlandia.
    6. Re:C--, Anyone? by pb · · Score: 1

      C-- exists, is old, and is not by Microsoft.

      I bet this "C--" just stole the name.

      C-- was somewhere between C and assembler, x86-only, and great for writing demos. ax, bx, cx, dx, et. al. were predefined variables that went directly to the registers, etc., etc.

      I remember the "Under 4k Starfield Demo" it compiled. :)
      ---
      pb Reply or e-mail; don't vaguely moderate.

      --
      pb Reply or e-mail; don't vaguely moderate.
    7. Re:C--, Anyone? by Frodo · · Score: 1

      Who needs it? C is by itself a portable macro-assembler language. No data structures and algotithms, no memory management, only basic types, no built-in fucntionality. It's assembler in disguise, and was made as such!

      --
      -- Si hoc legere scis nimium eruditionis habes.
    8. Re:C--, Anyone? by gulped · · Score: 1

      obligatory quote, stolen from fortune (can't believe no one has included this yet): THE LESSER-KNOWN PROGRAMMING LANGUAGES #16: C- This language was named for the grade received by its creator when he submitted it as a class project in a graduate programming class. C- is best described as a "low-level" programming language. In fact, the language generally requires more C- statements than machine-code statements to execute a given task. In this respect, it is very similar to COBOL.

    9. Re:C--, Anyone? by Junks+Jerzey · · Score: 2

      GHC was not developed at Microsoft Research. The "G" stands for "Glascow." Some of the people who worked on the compiler later went to Microsoft Research. The software was developed prior to this, though, so Microsoft doesn't own the rights.

    10. Re:C--, Anyone? by dair · · Score: 1

      >The "G" stands for "Glascow"

      That would be "Glasgow", with a 'g'.

      -dair (who used to live there)

    11. Re:C--, Anyone? by stx23 · · Score: 1
      The "G" stands for "Glascow."
      It's actually Glasgow, as in the Scottish City. Perhaps there is a parallel to the code name of the next version of Java Beans?
      If not, it seems pretty coincidental...
  123. CO(B)OL by mparcens · · Score: 2

    It turned out that it was just COBOL, with some code removed. The mainframers loved it, but it didn't fly too well with anyone else..

    _________________
    JavaScript Error: http://www.windows2000test.com/default.htm, line 91:

  124. Your search returned 191827382738 results... by jbum · · Score: 1
    "The new language, expected to be called C# and pronounced "C sharp," is a hybrid of C and C++..."

    Oh great. Another name which will be useless with search engines which strip punctuation...

    Sigh... I guess I should just be thankful they didn't call the language "A" or "I".

  125. Clueless in Redmond by pturing · · Score: 1

    Yet again, Microsoft misses the point completely. Visual Basic is a success because people *already know BASIC*
    There is a wealth of example code available, as well as a high number of people who can teach it. The same is true for C, C++, Cobol, and others.
    There is very little reason to use this new, unproven, and untested language.

    Portability will be totally non-existant.

    With the anti-trust lawsuit, there is no way to tell if 'Applications Microsoft' would continue the product after a split.

    I expect that the success of C# will be at best similar to that of ActiveX.
    More likely, it will totally flop.

    1. Re:Clueless in Redmond by mindstrm · · Score: 2

      I dunno about you, but I do know basic. real basic.

      And Visual Basic is not anywhere close to what real basic looks like. (not that I'm comparing them.. visual basic is far more powerful than basic).
      There is very little resemblance these days. Very little. So 'knowing' basic won't help you get anywhere in visual basic methinks.

  126. True by Dungeon+Dweller · · Score: 2

    This sounds almost like java set up to have C keywords in it. Which, if you have studied many of the C family of languages, is usually the case with anything other than C/C++/C--.

    --
    Eh...
    1. Re:True by molog · · Score: 2
      C--? Isn't that BCPL?
      Molog

      So Linus, what are we doing tonight?

      --
      So Linus, what are we going to do tonight?
      The same thing we do every night Tux. Try to take over the world!
  127. Re:hahaha! by DrTomorrow · · Score: 1
    Likely what he meant is that the runtime will be OS independent...

    That means it will run on Win95, Win98, WinNT, Win2000, WinCE, and WinMe. That's OS independent to me :)

    --

    Everything in this post is false.

  128. BASIC # by Anonymous Coward · · Score: 1


    Netscape Navigator
    Internet Explorer

    Java
    ActiveX

    JavaScript
    VBScript

    Java
    C#
    </rant>

    I guess MS does have a marketing niche with this thingy. I'm thinking Java or C/C++ developers from other platforms who are flabberghasted by the legacy Windows API and therefore don't want to use VC, but who are too proud to use VB for occasional coding.

    What I'd really like to see MS ship is a truly simple BASIC for non-programmers. Something like GW-BASIC (sigh), but with an updated command set for multimedia stuff to keep future geeks interested.

    1. Re:BASIC # by Chris+Hind · · Score: 1

      <rant>
      Netscape Navigator
      Internet Explorer

      Java
      ActiveX

      JavaScript
      VBScript

      Java
      C#
      </rant>

      This is what those nice people at the DoJ mean by the technical term "competition". Most people see it as a good thing.

      --
      nal 11
  129. Hmm -- good name! by NMerriam · · Score: 5


    So C# could also be pronounced "C Hash", or simply "Cash".

    Methinks it's the same guys who named WinCe...

    --
    Recursive: Adj. See Recursive.
    1. Re:Hmm -- good name! by gardol · · Score: 1

      or "CHash" == "Trash" or close enough == "Crash"

  130. Help me understand this... by msm1th · · Score: 1

    From the article: "It [c#] provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide."

    Okay, I'm not a programmer. Can anyone explain to me how something can be both a "language" and "language independent" at the same time? Seriously, I'm not trolling here, I really want to know what this means.

    1. Re:Help me understand this... by msm1th · · Score: 1

      And if you had bothered to read my question, you would have noticed that I was referring to the claim of "language independence" and not "OS independence".

      But thanks for being such a jerk.

  131. Source Code =) by citizenc · · Score: 2
    I can see the source code now:

    #include &ltconio.h&gt
    #include &ltiomanip.h&gt
    #include &ltmicrosoft.h&gt

    int MS.CPM = 0; // Crashes Per Minute = 0

    void main(void) {
    clrscr();
    m.cout &lt&lt "I Have to use Microsoft's COUT Statement, because my other statements won't work.\n";
    __MS.NOCRASH(); // Please Don't Crash.
    getch();
    }


    .- CitizenC (User Info)
    1. Re:Source Code =) by tycage · · Score: 1
      void main(void) {

      And I've no doubt that in C# void main is legal.

      *sigh*.

      --Ty

    2. Re:Source Code =) by nachoman · · Score: 1

      One modification though...

      getchar(); not getch();

      getch() doesn't work with the Win32 API. Why not, I have no idea. I guess microsoft just likes to be different

  132. Java Virtual Machine is not tied solely to Java by Speare · · Score: 5

    The JVM was created to support the Java language, but there's no reason that you must use Java to write for the JVM.

    In fact, many other languages have been written, compilers to target the JVM bytecode format. Also, the JNI (Java Native Interface) grew out of Netscape's support for C APIs to call into, and be called by, JVM bytecode.

    I wonder if Csharp/Dflat/Chash/Cpound/Coctothorpe might be targeting Microsoft's JVM implementation, which has gotten good grades on speed, or if it really is a whole new virtual machine.

    Microsoft doesn't appear to be claiming that the new language is free from entanglements with the operating system. In fact, if their "C#VM" were to make it easy to use COM/VBA automation, and to use native C# programs as clients and as services, it could be a win for them.

    I think they're missing the mark, though. Sun's reluctance to allow their JVM to be managed by an outside standards group, and Microsoft's reluctance to follow outside de facto standards, both played to this announcement.

    --
    [ .sig file not found ]
    1. Re:Java Virtual Machine is not tied solely to Java by kaphka · · Score: 2
      The JVM was created to support the Java language, but there's no reason that you must use Java to write for the JVM.
      Mark my words: Barring interference from the government, MS will add a "compile to Java bytecode" feature in the next version of VB. That's MS's real response to Java, IMHO.
      --

      MSK

    2. Re:Java Virtual Machine is not tied solely to Java by Phroggy · · Score: 1
      That's exactly the point. MS makes a relatively small addition to the VB compiler, and boom! Suddenly they have a simple, powerful, cross-platform language, suitable for web applets and similar network-based apps. It would take a big chunk out of the Java market very quickly.

      If it were anyone but Microsoft, this would make perfect sense. Microsoft won't do it.

      Anyway, I know freedom of speech has taken a lot of hits lately, but I'm pretty sure that Sun doesn't yet have the power to decide who can compile to Java bytecode, any more than Intel has the power to decide who can compile to x86 machine code.

      Correct, AFAIK.

      --

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    3. Re:Java Virtual Machine is not tied solely to Java by Phroggy · · Score: 1
      umm, Sun won't let them do it unless they're 100% compliant with Sun's spec, which means VB apps could be compiled to run on Linux/Solaris/Mac OS/etc., and Microsoft isn't gonna do that. I wouldn't be terribly surprised to see a "Compile to C#VM" feature, though.

      --

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    4. Re:Java Virtual Machine is not tied solely to Java by kaphka · · Score: 2
      umm, Sun won't let them do it unless they're 100% compliant with Sun's spec, which means VB apps could be compiled to run on Linux/Solaris/Mac OS/etc.,
      That's exactly the point. MS makes a relatively small addition to the VB compiler, and boom! Suddenly they have a simple, powerful, cross-platform language, suitable for web applets and similar network-based apps. It would take a big chunk out of the Java market very quickly.

      Anyway, I know freedom of speech has taken a lot of hits lately, but I'm pretty sure that Sun doesn't yet have the power to decide who can compile to Java bytecode, any more than Intel has the power to decide who can compile to x86 machine code.
      --

      MSK

    5. Re:Java Virtual Machine is not tied solely to Java by jallen02 · · Score: 1

      Actually allaire is doing just that. Their future versions of coldfusion will be converted to bytecode for that kicking speed increase. :)

    6. Re:Java Virtual Machine is not tied solely to Java by jallen02 · · Score: 1

      AHH it will convert CFML to bytecode and then run thru a java interpreter.. sorry.

    7. Re:Java Virtual Machine is not tied solely to Java by mishan · · Score: 1

      Might I add that Sun is working with Microsoft? My father was a Sun employee for a short period of time until he decided to leave them. Anyway, he said that most builds by Microsoft developers were broken and that they set them back a long time.

  133. Too late this time? by Axiom · · Score: 1
    It _seems_ too late for MS to try to take over with a Java clone (as this most likely is), yet it also seemed too late when MS released Internet Explorer, and yet they toughed it out and now dominate the browser scene.

    This situation is similar, but on the server-side. It must kill MS to see the enormous success of Java on the server-side. Very likely, C# will attempt to steal some of this market away, but can it succeed? MS seems to be doing miserable in the server market, so they won't have nearly the leverage they had when they invaded the browser market by pre-installing IE. Oracle, Sun and IBM are ruling the server-side right now and Microsoft is the underdog. I predict that this product will not be an overwhelming success.

    Multiplayer Strategy

  134. Hey now, microsoft doesn't suck all the time by EnVisiCrypt · · Score: 1

    I program for a living. I realize that C++ is faster and cleaner, and yada yada yada, and I actually prefer to program in it. However, the last time I wrote a fully featured, robust application in less than a week(graphics automation, like debabelizer) it was in VB. Realtime code debugging, kick ass UI development and tight system integration make Visual Basic incredibly useful for developing on windows. Ease of development for windows is a powerful selling point, because, despite the chest-pounding that goes on about linux, %98 of the world still uses windows. I don't care if you trash talk microsoft, but honestly, sometimes they can produce quality (or at the very least ubiquitous.) work. I rambled, I know, but I had a point starting out...

    --


    *everything* is Orwellian to cats.
  135. Re:Wrong name... by Binary+Tree · · Score: 1

    Why not Very Asinine Generally Incompetent New Language?

  136. www.c-sharp.com by Krollekop · · Score: 1
    Aah, the hand of destiny.

    This consulting company is going to make a lot of money.

  137. ?Lazar and Lars? by crazy+nick · · Score: 1
    "David Lazar, a Microsoft product manager..."

    At a glance, i thought 'Lazar' was 'Lars' !!

    1. Re:?Lazar and Lars? by slickwillie · · Score: 1

      No, I think he's Bob Lazar's brother. You know, the Area 51/UFO guy, the one who claims to have reverse-engineered a captured Roswell UFO.

  138. Re:Apparently, you don't read music. by B-B · · Score: 1

    And do not forget, c sharp is the same note as b flat!

    make of it what you will.

    Tom

    --
    Reality does not happen until you analyze the dots. -Don DeLillo (Underworld)
  139. Re:#define by fedos · · Score: 1

    I always thought that the "#" in "#define" was silent.

  140. Cross Platform? by spoonboy42 · · Score: 1

    The article seems to say that C# will be platform independent. While it was hard to see through the marketing haze, it looks like M$ may be offering a VM for executing C# code across a variety of OSes and even processors.

    This seems self-defeating for the Microsoft of today, since it makes developers less reliant on windows (but more reliant on M$ compilers). Theoretically, though, this could be the flagship product of the "applications company" that may be created in the Microsoft split. When you can't have a self-perpetuating monopoly in the OS feild, you can simply create one in the language feild and have basically the same situation that you started with: An applications barrier of entry caused by proprietary software.

    Then again, the M$ definition of "portable" may mean that it will compile once and run on Win9X, WinNT, and WinCE (x86 version only).

    --
    Anonymous Luddite: "What do you think of the dehumanizing effects of the Internet?"
    Andy Grove: "Not Much."
  141. Re:Embrace & Extend Again by quark2universe · · Score: 1

    I would call this the "extinguish" phase from M$ for Java. In reality, they are not extinguishing Java but instead they are extinguishing their own credibility with respect to programming languages.

    --

    Believe in things of which no person has ever learned
  142. Response to perl? by h0mee · · Score: 1
    Mix of C and C++ intended toward making life simple for network activities eh? Sound more like a response to perl than to Java to me...

    (not that any corporate boot-lickers would admit it...)

  143. C# is already taken by octalman · · Score: 1

    In case Microsoft didn't notice, there is/was an implementation of C sold under the name C Sharp. It is for 68x family processors. I have a copy, bought in 1984. I wonder if the copyright is still valid.

    1. Re:C# is already taken by octalman · · Score: 1

      redleg141 is correct, C Sharp is Al Stevens' baby (see post #226, http://slashdot.org/comments.pl?sid=00/06/22/16432 37&threshold=1&commentsort=0&mode=thread &cid=226 ).

      BTW, Al's column alone makes Dr. Dobbs Journal worth the price. The synapses are going. What I had in mind was Middle C.

      ... wanders off, muttering to self ...

  144. well, think of it this way by Misha · · Score: 1

    at least it is not called c-colon-backslash. that would be one for the ages. just imagine the headlines "Microsoft kills its new language in just three characters!!!"


    --



    I was thinking of how to intentionally fail my drug test... It would make a good memoir story someday.
  145. Good god -- have they thought about this at all? by werdna · · Score: 2

    Really, they shouldn't throw 'em up so easily. With a softball like that, I can just see the headlines:

    C# Falls Flat

    Microsoft hits a sour note

    and so on. Perhaps they took the view that smart people wouldn't even touch the easier ones.

  146. Re:Could C# be just a joke gone bad? by XLawyer · · Score: 1
    Well, there are those who think C, C++, and Unix are jokes gone bad already, so . . .

    (See, e.g., http://www.stokely.com/lighter. side/unix.prank.html.)

  147. language independence by pohl · · Score: 1

    The 'language agnostic' thing is nothing more than a universal virtual machine. What they're saying is that JVMs can only run Java, but their runtime will run C# and anything else. They're assuming that nobody has noticed that JVMs can run python, scheme, prolog, and jeeze what else?

    --

    The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

    1. Re:language independence by Zagadka · · Score: 2
      They're assuming that nobody has noticed that JVMs can run python, scheme, prolog, and jeeze what else?

      Ada, TCL, Haskell, Lisp, BASIC, Logo, ML, Eiffel, Oberon-2, Sather, COBOL (erk), and numerous other languages I've never even heard of. There's a good list here.

      Odd, FORTRAN wasn't on that list. There is an f2j compiler available too. Gives new meaning to that old quote:
      "Real FORTRAN programmers can program FORTRAN in any language." --Allen Brown
  148. Yeah, except that... by exploder · · Score: 2

    ...none of the other vendors has the clout to do it M$-style, or their own dominant OS to lock it into.

    As for the Ob. Recursive Acronym, I propose BINJ, unless you're a fan of Vernor Vinge, in which case you might prever RINJ, SINJ, or (esp) KINJ.

    --
    Yo dawg, I heard you like the Ackermann function, so OH GOD OH GOD OH GOD
    1. Re:Yeah, except that... by MrBogus · · Score: 1

      You don't think that IBM has the clout to do it?

      Basically, IBM has invested enough in Java, that at this point it only has two choices -- A) Play ball with Sun, or B) Create a Java clone. Right now they are playing ball, but how long will that last? Nuthins forever.

      My view on the situation is that IBM has more clout to create a Java clone than Microsoft does. C# may get some hype, but let's face it -- in the MS world it's always going to play second fiddle to VB and C++.

      IBM, on the other hand, has already made Java a tier 1 language on it's platforms. If they pursue an open source clone, they will get tons of mindshare from other vendors and people who are looking for an open alternative to Java, and will essentially commodize the language out underneath Sun and Microsoft.

      --

      When I hear the word 'innovation', I reach for my pistol.
  149. The only interesting question is this: by werdna · · Score: 2

    which one of the Baby Bills gets the IP?

  150. Re:C# != Db [OT] by Tower · · Score: 1

    >c sharp is not the same thing as d flat. ask someone who plays a fretless string instrument.

    Of course, it all depends on where it goes in the chord, too...

    --
    "It's tough to be bilingual when you get hit in the head."
  151. Re:Another M$ ploy to co-opt an existing technolog by Nastard · · Score: 2

    How about Ganja AiNt JavA ?

  152. lexical nightmare by hugg · · Score: 1

    Great, another language whose name is wholly unparsable by most search engines. They should name the language "+sex +porn", then they'll get plenty of hits on Altavista right off the bat.

  153. Look at the bright side.. by iamsure · · Score: 1

    It is fairly certain that they wont be taking the standards of this language and perverting them.

    The only question is, will they want (ala-AIM) open standards?

  154. C# haikus by asciitxt · · Score: 2

    yet another kludge
    old ideas becoming new
    through # defining

    c# -- a wrap of
    15 year old libraries
    macros everywhere

    Microsoft again
    finding more ways to abuse
    the preprocessor

    1. Re:C# haikus by asciitxt · · Score: 1

      searches for a spec
      and hopes of a URL
      ending in failure

      can you share knowledge
      that would correct assumptions
      you claim are not right?

  155. Operating system independence? Huh? by Phroggy · · Score: 2
    One source familiar with Microsoft's plans said C# is "intended as (a way to foster) new styles of development. Combine it with the Web services (Microsoft) is announcing and you get powerful stuff. It also so happens to effectively mirror what Java can provide. It provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide."

    Uhh, it sounds to me like this is Windows-only. What the hell are these guys smoking? It runs on Windows 98 and NT 4 and 2000, so that makes it OS-independent? Unless Microsoft ports it so it runs on Linux or Mac OS X or something, I don't see how anyone can call it OS-independent.

    G# anyone?

    --

    --
    $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
    $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  156. Darn it! by JoeWalsh · · Score: 1

    Well, darn it! I jumped the wrong way yet again. Microsoft came out with Windows 3.x, and I went with Desqview. Then they came out with '95, and I went with Linux. Windows 2000 came along, and I started using FreeBSD. And now that I've started learning Tcl/Tk, they're coming out with C#.

    Darn, darn darn. I just can't seem to pick the best technology no matter what I do!

    Oh, I know! I'll just do whatever Microsoft tells me to do. Yeah, that'll make my life better.

    Gosh, I'm so lucky to have Microsoft's marketing department around to tell me how to live my life. It's a wonderful time to be alive!

  157. Re:Those Of You Who Thought I Dissed Java... by istartedi · · Score: 1

    OK, a bit of an over reaction. Also, I confess. I didn't read the article. The linked story seems to describe this as more of a VM than a language, and who knows, maybe it will even be possible to write C/C++ applications with it and wrap most of the MS-specific function calls. That would actually be something I've been looking for.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  158. Re:C# != Db by RAruler · · Score: 1

    In the treble clef, C# is indeed Dflat.. not quite sure about the bass clef, but most instruments play in either one of those clefs. pi=3.14 except in different realities.

    --

    --
    Insert Witty Sig Here
  159. Correct Pronunciation: CASH by ENOENT · · Score: 1

    # = "hash"

    Therefore, the language is called "C-hash", or, perhaps more appropriately, "CASH". As in, "This is a stick-up. Gimme your CASH."

    --
    That's "Mr. Soulless Automaton" to you, Bub.
  160. Oooo, garbage collection! (sarcasm) by Temporal · · Score: 3

    Really, a C++ smart pointer class is a trivial thing to write and gives you all the same advantages. I wrote one in 100 lines a few weeks ago and it works just as well as Java's garbage collection. The article seems to suggest that this is one of C#'s greatest features. Hmm, kinda like W2k having that "symbolic linking" thing.

    ------

    1. Re:Oooo, garbage collection! (sarcasm) by a42 · · Score: 1

      Garbage collection as implemented in Java is just preposterous. I had to learn some rudimentary Java recently for a contract I was working on. When I tried to explain the lack of a real destructor to a fellow C++ programmer he was absolutely astounded.

      If more people who wrote C++ code actually "got" C++ we would need smart pointers even less often. I could not begin to count the number of times where I've seen code that allocated an object on the heap, used the object, then deleted it only a few lines down. Why not just create the object on the stack? Creating objects on the heap kinda defeats exception handling, too.

    2. Re:Oooo, garbage collection! (sarcasm) by Temporal · · Score: 1

      Right. Having a smart pointer class in C++ gives you the advantages without the disadvantages. If you want to allocate on the stack, you just don't use the smart pointer wrapper. (I don't like Java either. :)

      ------

  161. huh? by delmoi · · Score: 1

    How is creating a new programming language that's 'similar' to java "embrace & extending" it? Java is similar to C++, did sun "embrace & extend" C++?

    --

    ReadThe ReflectionEngine, a cyberpunk style n
    1. Re:huh? by java_sucks · · Score: 1

      I think the problem here is that the reputation of MS preceeds itself. Most techies have something similar to the "battered wife" sysndrom. After having been abused for so long your first reaction to just about anything is that they ( MS in this case, evil husband in other case ) are just up to their old tricks again. Quite frankly you really can't blame them either.

      The truth is that Sun is probably no better than MS and they have pretty much F***ed up WRT java.

      My main problem here is that I associate Visual Basic with Microsoft's idea of innovating a program language...eeeeeewwwwwwwwwww.... gives me douche chills all over. Although I'm pretty sure tC pound can't be any worse.

    2. Re:huh? by Hendershot · · Score: 1

      Wouldn't that be C-Bash, or Sea-Bash, or Sea-Bass?

      Just curious, JAVA is crap anyway. Servlets are crap. Use PHP or Perl.

      Love,
      Hendershot

      --
      A closed mouth gathers no foot...
    3. Re:huh? by Anonymous Coward · · Score: 1

      After that J++ fiasco, I don't think I'll trust any language that comes from Redmond.

      I'm sure that Microsoft will only produce C# products for Windows. C++ runs on everything, but here we go again, Microsoft trying to put the iron grip on the ignorant masses.

      Do you think there are any ppl who post on here who actually get excited when MS announces new products like this?

  162. Re:More Cs... by Paradox+!-) · · Score: 1

    The thing is, Microsoft has a whole helluva lot of developers across the world who are willing to jump through many many hoops to get access to the Windows platform. Sheer numbers of programmers at MS itself, alone, will give the new language a head-start. Combine that with programmers who have no major opinion about Microsoft (they exist, think India) who would be willing to try the language, assuming it actually provides the functionality of Java AND C++, and you have another market moving jump by the boys of Redmond.

    Paradox !-)

  163. Other evil waiting in the wings... by a42 · · Score: 1
    Don't know if this has been discussed here previously; aplogies if it has.

    Microsoft is attempting to do some very unkind things to the C++ language as well. They're calling it "Attributed COM+ Programming" but what it amounts to is a heinous assault on the C++ language. As a user of Visual C++ I'm more than a bit concerned about this.

    Code snippet:

    [event_receiver(classic)]
    class CMyReceiver {
    void handler1(int i) { ... }
    void handler2(int i, float j) { ... }
    }

    Other "attributes" will be added to support COM, IDL, and OLE DB. My favorite are the Compiler attributes which will

    "Inject code that performs a variety of common programming tasks"

    See for yourself.

  164. Re:Another M$ ploy to co-opt an existing technolog by smileyy · · Score: 1

    What about Raja? As in, Raja Ain't JAva.

    --
    pooptruck
  165. Insecure by StromThurmond · · Score: 2

    One of Microsoft's claims about C# is that it will allow "developers (to) access any hardware and software." C# provides "complete access to (the) underlying platform." At the same time they claim that this is a "web development language". Imagine , if you will, a poorly programmed piece of code that has vulnerablities in it. The kind of exploits that C# allows for (in concept) are on a different level entirely than the one's we see now. More access to hardware + a web language == A Bad Thing.

    And I don't even have to mention that the evironment (at least initially) that a C# program would run in would be written by M$ (motto: 64k is enough bugs for everyone). Remote root exploits galore.

  166. Re:Gotta love the quotes... by TwP · · Score: 1
    Ahh . . . you forgot the best quote of all

    Goodhew added that C# allows "developers (to) access any hardware and software." C# provides "complete access to (the) underlying platform."

    Hmm, "complete access to the underlying platform". It sounds like VB script viruses will now be showing up as C# viruses on all platforms. Never install this runtime environment on your Linux / BSD boxen.


    ------------------------------------------------ ----------------

  167. Re:I can see the derogatory phrases already... by slickwillie · · Score: 1

    C-octothorpe?

    What do you expect for a reply on virgule-dot?

  168. LOL !!! sharp define by Augusto · · Score: 1

    That's exactly my point !!! It seems there are a lot less C coders on slashdot than I tought.

    --

    - sigs are for wimps.
  169. If Python is good enough for Jesus... by MenTaLguY · · Score: 1

    ...it should be good enough for everyone!

    [ sorry, but if you're going to sign that post like that, it's just begging for that sort of reaction ]

    --

    DNA just wants to be free...
  170. He who laughs last probably works at Microsoft by XLawyer · · Score: 1
    I haven't seen any technical information about C#, but, based solely on the history of new Microsoft products, I suspect that it's probably worthless and that in a few years our employers will probably require all of us to use it exclusively.

    Let's remember that Microsoft is primarily a marketing company. They convince managers to buy their products, then the managers make their subordinates use them. Microsoft succeeds because the people who decide to buy their technical tools are not the people who have to use them.

    What can we expect? Well, note first that we don't know when C# is coming out, and it probably won't ship any time soon. This is standard industry practice (not limited to Microsoft, but particularly useful to them): announce vaporware so people don't commit to a competing platform.

    Then they make key parts of Office and Windows that work best with C#, and that may not work at all with anything else (except VB, of course). All the while, they sow FUD about Java and everything else that might compete with C#. There will probably be lots of advertising with simple bullet points for the PHBs.

    And eventually we're all stuck with it, regardless of whether it's any good. It's happened before.

    Now, the above notwithstanding, I want to stress that I don't really think Microsoft's doing anything particularly immoral by doing any of this. As far as I'm concerned, they have an absolute right to make their software work any way they want, and if their business model involves closed standards and secret APIs, well, that's up to them. But it infuriates me endlessly that IS managers insist on wading ever deeper into the Microsoft tar pit, happily promoting Microsoft's business model over the needs of their own businesses.

  171. Those Of You Who Thought I Dissed Java... by istartedi · · Score: 2

    ...because I'm pro-Windows will now be shocked. Here's what I have to say: GO AWAY.

    Don't want another syntax. Don't need another syntax. Like C. Like C++. Hate most everything else.

    Why? Two words: Content obsolescence. That's all Java ever did for me. Great... another language to learn. Blow me. Take your C-# (c-pound) and POUND IT.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  172. Just as I was announcing MY new language by fedos · · Score: 1
    I deny all allegations that !C is just C made to look like FORTRAN. !C is not C.

  173. C Sharp..... by redleg141 · · Score: 4

    Hey someone already has the trademark on C Sharp. Just ask Al Stevens of Dr. Dobb's Journal.

  174. Troll? by jpowers · · Score: 2

    Y'know, it may be time we came up with a clear delineation between a post like this and a real troll-post. It's a short, sharp reply to the post above it. It states an opinion which is on topic and relevant to the discussion, even if it offers no support for that opinion.

    If it hadn't been modded down to -1, would it have started a thread of more reasonable posts which would have considered the circumstances and motivations surrounding M$ new programming language vs. those surrounding Sun's development of Java? Those of us who read at -1 have seen it happen.

    Is stating an opinion about some language, OS or company really trolling? If this guy posted a comment that said "MS sucks" or "Windows sucks" and got modded down -1 flamebait, I could understand, but whoever this AC is, his post is at least on topic and relevant. He didn't post it 500 times in a row, and he didn't craft it to look like a normal post only to change halfway through to a post about NP or grits or whatever. I don't think it's a troll.

    -jpowers

    --

    -jpowers
  175. Hybrid of C and C++ my A***! by doublem · · Score: 1

    The new language, expected to be called C# and pronounced "C sharp," is a hybrid of C and C++, two of the most popular programming languages used by software developers to write applications for the Windows operating system, said Tony Goodhew, a Microsoft product manager.

    Correct me if I'm wrong, but isn't C++ a superset of C, and therefore C a subset of C++??? Why is it every C and C++ programming book I've read told me things like, "If you know C, you already know a good deal of C++" and why do all my C programs compile under C++ compilers?!?!?!?!

    Hmm, something a M$ developer said contradicts my six years of experience, I guess I'm wrong...


    Matthew Miller,

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
    1. Re:Hybrid of C and C++ my A***! by Tom7 · · Score: 1


      Er, I don't see why it couldn't be a hybrid of the two, even if C was a subset of C++.

      If you want to be totally pedantic, some C programs won't compile in C++ (like those which use C++ keywords as variables or outlawed syntax), and there are others which have different meaning in C++.

      I haven't heard anything specific about this language, but it sounds like more of a hybrid between C++ and Java. Garbage Collection and "more" safety are big changes to a language, and neither is present at all in C or C++.

    2. Re:Hybrid of C and C++ my A***! by Jbrecken · · Score: 1

      Since C++ has a bunch of stuff that C doesn't have, I'd interpret "hybrid of C and C++" to mean "between C and C++," which could describe Visual C++, since it's still not yet ANSI compliant.

  176. Re:Embrace & Extend Again by Blue+Lang · · Score: 1

    How is Microsoft's decision to "embrace and extend" C/C++ in the form of C# any worse than Sun's decision to "embrace and extend" C/C++ and call it Java?

    I agree, and you are correct on most counts. It is not actually sun's 'extension' of C++, however, that is the issue, as much as their continued insistence on control over the language.

    That is a very M$ish move in and of itself. M$ have historically given away development tools but retained control of the language, thus bringing many new developers into their fold.

    I've flat-out given up on moderation. I just spend most of my slashdot time composing OMM-esque flames. I think the permanent moderators must not use up mod points, because the 'late stage' moderation has gotten extremely heavy handed lately. If you want to be moderated up, just use any three-syllable technical term and don't ever, ever make a snide comment. All snide comments, no matter how true, are flamebait.

    Have a nice day,

    --
    anony-blue

    --
    i browse at -1 because they're funnier than you are.
  177. Re:Apparently, you don't read music. by Boulder+Geek · · Score: 1
    And do not forget, c sharp is the same note as b flat!

    Um, no, it isn't. In equal temperment, its the same note as d flat. However, real musicians, eg, those of use without frets, know that c# and d flat are two different things.

    --
    A well-crafted lie appears unquestionable - Dama Mahaleo
  178. Could C# be just a joke gone bad? by sirPaul · · Score: 1

    Is it possible that when a company gets so big and bloated from having their hands in too many different sectors of computer technology that the marketing dept. stops paying attention to what they're really selling, and just concentrates on getting more product to market?

    Here's what I see happening. Some smartass engineer is sitting in the depths of the dungeons in Redmond (which I hear are very nice actually) and decides he's gonna be funny. "Lets create another cross platform language. This will give me something to do for awhile without having to think up something really innovative" (This happens, not all engineers do it, but some do) So him and his buddies write this knock off of Java, pass it on to Marketing, sit back with a case of ale and laugh their asses off when the PR department sends out press releases like the one we're discussing today. I mean, why the hell would MS give a damn about their new language running on multiple platforms. They don't want multiple platforms. (yeah breakup shamkeup. If/when it happens this C# thing will be a long forgotten BOB for both companies)

    Do the real employees at Microsoft (last I heard around 22k) really take the corporate monster seriously anymore?


    Paul Bryson
    "The shortest distance between two spoons is irrelevant.

    --


    -pB
  179. Re:garbage collection by Temporal · · Score: 1

    Sounds nice, but what are the performance costs? Seems to me that even detecting circularly linked stuff would be expensive, but then I don't know too much about the details of how that is done, so I could be wrong.

    ------

  180. Re:hahaha! by pen · · Score: 1
    I'd be very surprised to see Microsoft write anything multiplatform, but your statements aren't correct. Just because it's part of Visual Studio doesn't mean it's not multiplatform.

    For example, CodeWarrior is only for MacOS and Windows (the Linux port wasn't finished, IIRC). However, it can be used to write Java, which is multiplatform. Visual Studio is not multi-platform, but it can be used to write HTML, which can be multiplatform.

    --

  181. Re:Do We Need It? by perlmonger666 · · Score: 1

    The question isn't "Do we need another language", it's "Do we need another proprietary, incompatible language". Microsoft has given the word "reseller" a new meaning.

  182. Forget MS, we need this by Reality+Master+101 · · Score: 1

    I would LOVE to have a C-like language that didn't have the limitations of Java. Java is not an appropriate replacement for C for system programming. For example (my biggest peeve), Java lacks an unsigned data type.

    The industry really, really needs a native compiled language between C and C++. At one time, there was an effort by C standards committee to produce a "C with classes" language as a successor to C. It wouldn't be as complex as C++, but would try to include the best aspects of it. Unfortunately, that effort died.

    I think it would be great to have a language for system programming that was cleaner that C++ and without the limits of Java. People talk about native compiled Java, but let's face it, the language is very tied to the JVM. It is not designed to be a system programming language like C, with it's non-specified sized data types, non-defined byte order, etc that you need for maximum efficiency.

    Only people who don't understand the differences between Java and C++ could possibly see this as a competitor to Java.

    I would ask people to not condemn it just because it's from Microsoft. Let's wait to see what pops out. Let's face it -- there are few companies with as much experience with OOP than Microsoft.


    --

    --
    Sometimes it's best to just let stupid people be stupid.
    1. Re:Forget MS, we need this by nagora · · Score: 2
      I would LOVE to have a C-like language that didn't have the limitations of Java.

      You'd want C then, wouldn't you?

      Java is not an appropriate replacement for C for system programming.

      Try "C" for that, it's quite good.

      For example (my biggest peeve), Java lacks an unsigned data type.

      I think C has that.

      I think it would be great to have a language for system programming that was cleaner that C++ and without the limits of Java.

      Well, you could use C++ and not use the unclean bits.

      People talk about native compiled Java, but let's face it, the language is very tied to the JVM. It is not designed to be a system programming language like C, with it's non-specified sized data types, non-defined byte order, etc that you need for maximum efficiency.

      No, you're right; best stick to C, then.

      Only people who don't understand the differences between Java and C++ could possibly see this as a competitor to Java.

      Only people who can't understand the similarities between C and C++ could see this as a competitor to a dead cat.

      I would ask people to not condemn it just because it's from Microsoft.

      Can we condem it for being pointless?

      Let's wait to see what pops out.

      That's the sort of reasoning that got John Hurt killed in Alien.

      there are few companies with as much experience with OOP than Microsoft.

      There are few companies with as much experience in screwing their customers, but I don't think that's a reason to wait to see how they're going to do it next.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    2. Re:Forget MS, we need this by tclark · · Score: 1

      Why do we need such a language again? What is wrong with C and C++ that C# could possibly do anything about?

    3. Re:Forget MS, we need this by cyber-vandal · · Score: 1

      Or is that POO

    4. Re:Forget MS, we need this by Reality+Master+101 · · Score: 1

      Try "C" for that, it's quite good. [etc etc etc]

      Maybe I should've been a little more explicit in what I was looking for. I want a C-like language that also has garbage collection and classes, but not as "overcooked" as C++. I like many of the aspects of Java's classes, but for all the reasons I mentioned, it's not a good choice for system programming.


      --

      --
      Sometimes it's best to just let stupid people be stupid.
    5. Re:Forget MS, we need this by nagora · · Score: 1
      To be a bit more serious: C-hashed is going to be a byte-coded language with a virtual machine. As a Forth programmer I know two (and only two) things:
      1. A byte-coded language can be used for system programming, and
      2. No one will use a byte coded langauge for systems programming in this day and age.

      The noises M$ are making about pushing all languages on Windows to virtual machines (putting them on an equal footing) just won't wash with developers, even on GHz machines the performance hit is too great and, the real problem, it just aint cool. So M$ was telling the truth about their new product not being Cool.

      There have been lots of languages which have the characteristics you want but they died because of the performance hit.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    6. Re:Forget MS, we need this by Reality+Master+101 · · Score: 1

      To be a bit more serious: C-hashed is going to be a byte-coded language with a virtual machine.

      Are you sure? If so, then this blows. We don't need another byte-code interpreted language, although I think there is a lot of room for improvement on Java.

      I want a better, compiled, C/C++, dammit!


      --

      --
      Sometimes it's best to just let stupid people be stupid.
    7. Re:Forget MS, we need this by nagora · · Score: 1
      "Common Language Runtime", "Universal engine", "Operating system independance (which Java offers)"

      The signs are all there. Particularly OS independance. Unless they mean they're going to write a compiler for every OS (Ho, ho!) they mean a virtual machine (which Java offers).

      Of course, they'll start offering C-hashed compilers after a while like they did with VB, but they'll only run on Windows so if you want performance guess who's OS you'll need.

      TWW

      --
      "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
    8. Re:Forget MS, we need this by bmajik · · Score: 1

      C and C++ are simply too difficult for reliable applications programming. Why does someone want to worry about byte ordering or memory management for a web-service ? They _dont_.

      Don't take this as my personal comments on the difficulty of using C.. I love and use C and C++ where appropriate. The justification for VB, and Java, C#, and other languages is that they dont need to be so close to the metal to get the vast majority of programming tasks done.

      C# is more flexible and less targeted than Visual Basic, but much easier than C or C++. More importantly though, C# was designed around a COMponentized object model. For developing COM+ objects, C# will probably be the language of choice, although _any_ of the MS language products can be used to do so.

      C and C++ _can_ be used for the sorts of things MS is envisoning, but they're awfully big hammers.

      --
      My opinions are my own, and do not necessarily represent those of my employer.
    9. Re:Forget MS, we need this by Reality+Master+101 · · Score: 1

      but they'll only run on Windows so if you want performance guess who's OS you'll need.

      I would imagine that it wouldn't be difficult to make a version of gcc (or g++) that would speak it.

      I think the proof of this particular pudding is going to be in the language, not the implementation. I think a lot of people really would like to see a simplified C++ with garbage collection, including engineers at Microsoft. Assuming they don't go off the deep end and put in language details that make it incredibly difficult to make a good compiler (like Java), we might see something interesting.

      I have to admit that "platform independence" stuff scares me a bit. I hope they don't do anything stupid and define word lengths or byte orderings.


      --

      --
      Sometimes it's best to just let stupid people be stupid.
    10. Re:Forget MS, we need this by demon · · Score: 1

      I have to admit that "platform independence" stuff scares me a bit. I hope they don't do anything stupid and define word lengths or byte orderings.

      You mean like they did with the Win16 API? And the Win32 API?

      I don't like VB. I think extending BASIC was, and is still, a poor idea. I don't think Microsoft has done a good job of designing their APIs (considering every generation, they have to do an almost complete API rewrite). The c|net article basically makes this sound, to me, like something somewhere between Java and VB (I'm no big fan of Java either, though I believe it does have its place.)

      If they're going to try to be a better Java than Java, forget it. (Probably end up about as laughable as their attempt at making a "better UNIX than UNIX".) If they're going to create another crappy API in the tradition of Win16 and Win32 to run on a bastardized, stripped-down C++ compiler, then forget it.

      If I know Microsoft, it's gonna be one of the two. (I would love to be proven wrong, though.)

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  183. Re:M$ sucks fp?? by Anonymous Coward · · Score: 3


    Wouldn't it be good to wait until the language is actually unveiled before you bash it as "crap"?


    You're new here, arent you?

  184. Re:Good god -- have they thought about this at all by Tom7 · · Score: 1

    They don't think.

    Viz: "WinCE".

  185. Re:Another M$ ploy to co-opt an existing technolog by demon · · Score: 1

    Not bad. Has a certain ring to it. :)

    --

    Sam: "That was needlessly cryptic."
    Max: "I'd be peeing my pants if I wore any!"
  186. A little off topic...but relevant...? by Gorbie · · Score: 1

    Reading this article makes me think a little about commercialism, gaining competitive edge, and the computer industry. The thing I like about open source is, although there are ways to make money in an open source world, the focus is to develop a better computing environment for whoever wants it. Java was focused on this to a certain extent, and MS' creation of windows specific apps completely runs against the grain of it.

    Who knows...maybe commercialism will win, but maybe open source will win out and be the start of something bigger. Maybe the concept will catch on in other areas/industries. Maybe its the first step to a Star Trek like "United Federation" where there is no money, but plenty of replicators, and everyone can have what they needed at any time :)

  187. Re:C# != Db by nachoman · · Score: 1

    C# is Db. Always has been Always will be. Trebble clef, bass clef, tenor clef and alto clef.

  188. How about? by angelo · · Score: 1

    Cb {c flat) -- it seems much more appropriate, since it is destined to fall flat.

    It's c-like and Java-like? Here I was thinking java is like c. So to me, c# is like c.

    Also, a music metaphor is simply a stupid play, especially when we are programmers, not musicians.

    If I recall correctly, M$ made a visual J++ that was their version of java. It didn't involve an analagous transformation like c -> c++ (objects) but rather a closer tie to the M$ paradigm.

    Since "innovation" and "plagarism" seem to mean the main thing when M$ is concerned, I guess they didn't consider this an issue.

    Didn't "cool" stand for "C object oriented language" or some rubbish?

    I'm certain we could find some epathet for this one too, ala "wince"...

    All the same, I'd rather call it cb

  189. Re:Embrace & Extend Again by spectecjr · · Score: 4

    Right, it's apparent from the article that this language (which I have chosen to call C-Pound ;) is an attempt to "Embrace & Extend" C++. Which, really isn't necessary, but hey, we have to cut them some slack -- dirty tricks are the only games Microsoft knows how to play.

    Er... what?

    Stroustrup has approved the language by the way. Just thought you'd like to know.

    You might find out why if you compare C# to some of Stroustrup's bitch list in "The Design and Evolution of C++"

    Simon

    --
    Coming soon - pyrogyra
  190. Re:Real list of features: by AugstWest · · Score: 2

    Don't forget that if you want the database tools, you must purchase the Enterprise Edition.

    They actually pulled this with VisualStudio 6.

    You know, the one that had the next version of InterDev 1.0, called InterDev 6.0

  191. Re:Apparently, you don't read music. by stungod · · Score: 1

    Wrong. It's "D"

    I'm really surprised that M$ didn't use that as part of their propaganda: "It's the next step up from C"

    By the way, I thought of that, and I'm releasing it under GPL. So there, Bill...serves you right for retiring my MCSE two days after I got it.

  192. Microsoft Language by Tom7 · · Score: 2

    They should have called it "Microsoft Language" to go along with all their other boring product titles!

    1. Re:Microsoft Language by rgmoore · · Score: 1
      They should have called it "Microsoft Language" to go along with all their other boring product titles!

      No, they're saving that for their new version of English with proprietary extensions. They're supposedly working on a new part of speech that will only work on Windows.

      --

      There's no point in questioning authority if you aren't going to listen to the answers.

    2. Re:Microsoft Language by talesout · · Score: 1

      Trust me, when it comes out it will be just like all of thier other products:

      MICROSOFT

      in huge capitol letters (about 72 point should do) then

      C#

      in letters about 8 points and hidden in a cloud of shit or some such nonsense.

      --


      Bite my yammer.
    3. Re:Microsoft Language by Sludge · · Score: 2

      Don't worry, we're going to see Halo renamed to Microsoft Gun.

    4. Re:Microsoft Language by Black+Parrot · · Score: 2

      > C# in letters about 8 points and hidden in a cloud of shit or some such nonsense.

      And you'll see the ad for it on the splash screen every time you (re)boot, even though you already have the product.

      --

      --
      Sheesh, evil *and* a jerk. -- Jade
    5. Re:Microsoft Language by wuice · · Score: 1

      It's going to be called MICROSOFT GAME (halo edition).

  193. Place your bets!!!! by RobertAG · · Score: 2

    The basic description sounds like they're trying to reinvent PHP.

    From the PHP-FAQ:

    Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.

    While the CNET article doesn't mention Web scripting, where else does this "C#" go? VB and VC++ are used primarily for stand-alone apps, while MS only has VBScript and JScript. Do they want to establish a wholly new server scripting language? Considering that classical CGI is impractical on NT/2000, server-side scripting is the only niche they can exploit. Given the wealth of tools available in the UNIX/Linux world, it'll never be popular there.

    In fact, I'll bet that this new "language" will resemble BASIC (or maybe even FoxPro) in syntax more that anything else. Maybe it'll use C++ and JAVA functions, but it'll never be called innovative by anyone familiar with the industry.

    As far as being a JAVA killer, developers should not forget that being familiar with multiple platforms makes you a more valuable programmer. The Microsoft world is just one of many worlds in the UNIXverse (couldn't resist the pun). It'll be just one more thing the MCSE, MCD and other MS cult members will get certified in only to watch it fade away in a couple of years.

    1. Re:Place your bets!!!! by TummyX · · Score: 1


      I think this is an attempt to step up the maturity of ASP into a "real language".


      1) This has nothing to do with an ActiveX scripting language.

      2) ASP is a technology, not a language you genius. ASP provides core objects, that ANY active scripting language can access, and the ASP engine hosts the active scripting engine. Currently you can write ASP in JavaScript, VBScript and PerlScript. Most people use vbscript cause they are familiar with VB.

    2. Re:Place your bets!!!! by Phroggy · · Score: 1
      In fact, I'll bet that this new "language" will resemble BASIC (or maybe even FoxPro) in syntax more that anything else. Maybe it'll use C++ and JAVA functions, but it'll never be called innovative by anyone familiar with the industry.

      Why would it resemble BASIC more closely than C++ or Java? Basing it on C++/Java/JavaScript/Perl would make much more sense to me than basing it on Visual Basic.

      --

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    3. Re:Place your bets!!!! by Tom7 · · Score: 1

      PHP is an extremely simple scripting language. Stuff like dynamic scope and typing make it practically nothing like modestly interesting languages such as C++ and Java. PHP is rather like ASP, though. I think this is an attempt to step up the maturity of ASP into a "real language".

    4. Re:Place your bets!!!! by RobertAG · · Score: 1

      It would make much more sense. But since MS would want to make it simple and powerful for maximum adoptability, a BASIC (or FoxPro) syntax would be the most logical way to do this. Besides, if it doesn't work out, it can quietly disappear.

      Lots of people have invested time and money into learning VB, Java and C++. Of the three, VB (in all flavors) is the easiest to learn. If a MS were going to introduce a new language, the BASIC syntax offers the smallest learning curve.

      It took several years for VB and Java to evolve into the entities they are. When they were introduced, VB had the double advantage of an easy GUI IDE and syntactical familiarity, and Java had the advantage of widespread industry support. C#, in order to be adopted, needs something going for it. Today, easily navigable GUI IDEs are more common. The most recognizable syntax is BASIC. No one is going to back this thing outside the NT/2000 community; UNIX people are too well aware of alternatives to MS.

      Given these contraints, is there any question where this must head?

    5. Re:Place your bets!!!! by RobertAG · · Score: 1

      "PHP is rather like ASP, though. I think this is an attempt to step up the maturity of ASP into a "real language"."

      I can agree with that. It reminds me of the OLE's progression into ActiveX (or whatever it's called now) via a myriad of different names.

  194. Hacking Made Easy by jyuter · · Score: 1

    Goodhew added that C# allows "developers (to) access any hardware and software."

    Yes!!! We can take over MS with their own language!

  195. Re:C-Sharp? by tamino · · Score: 1

    MSFT may be making C#, but really it's Cb (C-flat) and intended to make them C$. All the same time it's making programmers who have to deal with the crap they turn out C@#$%! Same 'ole Microsoft.

  196. A confused article by cfleming · · Score: 1

    This article seems to claim that C# is a reaction to Java as programming language for the Internet. But this can't be right, because although C# (and other languages to come) will run on a Universal Runtime Engine, this 'Universal' blob only runs on Windows. What this really sounds like to me is a version of C that acts like PASCAL or BASIC. If this is a reaction to anything, then it is Perl or Python.

    I think it would be a great idea to be able to use a dialect of the same language for programming, scripting, and CLI: C, C#, and csh , whatever that language may be . . .

  197. Re:Apparently, you don't read music. by Golias · · Score: 1
    Actually, if you are using musical terms, C-sharp is only a half-step up from C.

    A step up is two chromatic notes higher, which would be D.

    (The major scale is whole step, whole step, half step, whole step, whole step, whole step, half step.)

    My degree is in music, so naturally my career is in computers. :P

    --

    Information wants to be anthropomorphized.

  198. MFC begone by omibus · · Score: 1

    If it is C++ without that MFC gorilla standing on its sholders I'll go for it. (or did I just describe Borland C++ Builder?)

    --
    Bad User. No biscuit!
  199. garbage collection by Tom7 · · Score: 2

    You've expressed a common misconception that I think is worth correcting. I'll follow this with an opinion.

    Fact:

    Reference counting is NOT the same as garbage collection. Reference counting cannot collect circular data structures that have been disconnected from the program's active store (like a circularly linked list or a graph).

    Opinion:

    Garbage collection is a really nice feature for a language to have. Since I program in ML (my favorite advanced programming language), I never have to deal with memory errors of any kind, ever. Garbage collection also opens the way for type-safe languages, so that we can write programs which are guaranteed not to crash. This is another really nice thing (also supported in ML).

    1. Re:garbage collection by pli · · Score: 1

      Reference counting is NOT the same as garbage collection.

      WRONG! Reference counting is indeed one way of collecting garbage. The fact that it can not handle circular data structures doesn't mean that it's no longer a garbage collector, it's just one of its disadventages. Other garbage collection algorithms have disadventages as well, e.g. Mark Sweep sufferes the start-stop behavior, Copying requires a heap twice the size of what the program needs, etc. No algorithm is more of a garbage collector than the other.

      Read a book on the subject and you'll get the idea, I can recommend Garbage Collection - Algorithms for Automatic Dynamic Memory Management.

    2. Re:garbage collection by Tom7 · · Score: 1

      Well, you've caught me out of context, but you're right. Let me refine my statement to make my original point and appease you as well:

      Reference Counting is not the same as the garbage collection used in a language like Haskell or Lisp or Java, and is probably not what is being used in C#. Furthermore, since it is unable to reclaim certain kinds of data structures (self-referential ones), it does not provide all the functionality of a "real" garbage collector. With reference counting, you still have to worry about memory management if you want circularly-linked structures.

  200. Lies, Damn Lies, and M$ Marketing by slickwillie · · Score: 1

    Some excerpts from the article:

    This is not a response to Java

    (Common Language Runtime) increases the openness of Windows.

    C# is "not presented (by Microsoft) as a Java competiton"

  201. The bigger story may be NGWS by John+Ratke · · Score: 1
    The tides of the computer world may be turning. The part of this article that I thought was most interesting was actually the link to the story about the pending announcement of Next Generation Windows Services (NGWS). It seems that MS will be shifting strategies towards running applications off of servers. Serving up applications like so many web pages. Charging for them by subscription. A new revenue model. Or should I say a new monopoy model!

    Just when we are on the verge of having a very high quality free desktop operating system and office package combination (in the form of KDE/GNOME, and all the various office suites). Coincidence? Maybe MS has given up the idea of controlling the desktop. If their losing it is a forgone conclusion, why not focus on taking over the server market.

    Unix still has a good share of the server market, but I can see this changing if we are not careful. How? By introducing products like their "BizTalk 2000", they effectively create defacto standards for e-commerce. Sure, it's all XML driven. Sure Linux apps could read it and maybe even talk to it. But so what? There are no linux apps that do it because MS won't write 'em for Linux. That's the point. If I'm running a business, I want to be compatible with the other businesses. I want to be able to talk to them and do business. So I'm going to run what they run. If MS leverages their current server market share to covert it to e-business server share then they will create the defacto standard. Linux representitives will have virtually no say in this new area.

    It seems Microsoft has been busy! And I thought all their time and money was being wasted fighting the DOJ.

  202. Re:M$ sucks fp?? by dgph · · Score: 1
    One thing confused me.. They said that C# was not only platform independent but "language" dependent. That seems awful hard since you'll be writing c# applications in none other than c#

    I think whoever wrote that was a little confused; but what I think MS is saying with this new NGWS platform is that it will play nice with other platforms (could just be wishful thinking on my part though).

    They have a message passing system called SOAP (Simple Object Access Protocol) which sends XML messages accross a HTTP link. I believe it's the same sort of thing as CORBA or DCOM (Remote Procedure Calls and so on) but easier to use. Now, since most programming languages have no trouble with XML and HTTP, any language would easily be able to speak the protocol. Also, XML is by its very nature Open Source of course.

    Now, for some speculation: I think that Web Apps and other internet services are going to be a big part of the new platform, so they want other languages to be able to use their internet services (even Linux users) they'll charge for their services of course.

  203. M$ the monopoly...moderate this up! by jmorse · · Score: 2
    I guess there are a couple of things we need to point/figure out:
    1. While this new product may just add up to an admission by Micro$oft that the Java model (garbage collection, runtime vs. native, platform independence) is important, they have answered in a typically anti-competitive way; build something that might be a better mousetrap, but find underhanded ways to tie it to your flagship product.
    2. What becomes of J++? There were rumors (untrue, as it turns out) a while back on ./ that they were going to sell it to Rational. Well, since that fell through, my guess would be that they kill it entirely, now that they have created a competing product. That's too bad; with a few improvements (servlet support, JDK compliance, cross-platform IDE, etc), J++ could easily be the best IDE out there. I love the Intellisense...having an API reference at your fingertips is a good thing.
    3. Price Point: Java is still mostly free, while C# will probably be somewhat expensive. Will this slow adoption? Who knows; I think the features and reliability of the language are more important.
    4. Available Libraries: Will there be a wide array of well-written, cross-platform, thoughtfully-arranged libraries for C#? This is one of the factors that has driven adoption of Java over the years. Because Java's libraries are quite mature in comparison, I think this will limit adoption.

    Overall, I think C# will have to find a niche to be successful, and I certainly don't think that niche will be scalable, web-centric systems. Java's greatest weakness is it's performance on the client side. Maybe there's room for another cross-platform language there, but then AWT and Swing are fairly entrenched.

    BTW - Anybody notice how the article lied about the Sun lawsuit? Check it out:
    Microsoft is mired in a lawsuit with Sun over Java and has been prevented from updating its Java products.

    Now that's BS if ever I heard it. Microsoft could easily update its Java products at any time, so long as they honor their contract with Sun and make them JDK compliant! But instead, they decide to kill what could have been a great product and put something else out instead.

    If you put a racing saddle on a jackass, it's still a jackass...
    --

    "You done taken a wrong turn."
    -Bill McKinney, in Deliverance
  204. Re:WHERE ARE THE SPECS??? by Chris+Hind · · Score: 1

    /. 's already been slapped by MS lawyers for providing links to proprietary MS stuff.

    --
    nal 11
  205. Seperation of Compilation and VM Execution by swdunlop · · Score: 1

    Simple, the marketing rep who wrote the press release was confused.

    If Microsoft was serious about cross-platform portability, they might have taken a page out of the Pascal, Java and Python playbooks, by compiling C# down to a binary for use by a virtual machine. It's language independant, because /other/ language compilers can compile to the same bytecode.

    There is a Python dialect that does this, called JPython, that uses Python for the programming language, but compiles to Java bytecodes. There's no reason we couldn't have a Python#, as well, aside from that awful feeling in my stomach when I think about it.

    1. Re:Seperation of Compilation and VM Execution by msm1th · · Score: 1

      Oh, ok. Thanks.

  206. Re:Apparently, you don't read music. by B-B · · Score: 1

    D'oh!

    D flat is the correct answer. guess ido not win the ginsu knives?

    tom

    --
    Reality does not happen until you analyze the dots. -Don DeLillo (Underworld)
  207. Re:M$ sucks fp?? by Mawbid · · Score: 1

    ...or NT or Windows 2000
    --

    --
    Fuck the system? Nah, you might catch something.
  208. Re:B sharps by David+Greene · · Score: 1
    Except then it would be C, which is already taken. :)

    --

    --

  209. This acronym is a no-brainer by xant · · Score: 5

    Are you kidding me? NINJA!! Ninja Is not JAva

    --
    It's rare that you're presented with a knob whose only two positions are Make History and Flee Your Glorious Destiny.
    1. Re:This acronym is a no-brainer by _xeno_ · · Score: 1

      ninja.org is already taken, unfortunately...
      As is ninja.com, but ninja.cx seems to be open...

      --
      You are in a maze of twisty little relative jumps, all alike.
    2. Re:This acronym is a no-brainer by FalseModesty · · Score: 1

      These are even more obvious: BINJ Is Not Java (for those all-night coders), or FRINJ Really Is Not Java (for those way-out coders).

    3. Re:This acronym is a no-brainer by Kitanin · · Score: 1

      Personally, I was thinking DJINN: DJINN's Java Is Not eNcumbered. Manages to hit both Java and Jini.

      And yes, I know that encumbered doesn't begin with an N. However, the n's justify the means. <gr&d>


      --


      Teach your kids: "C++ made baby Jesus cry."
  210. Re:C "hash" by the_other_one · · Score: 3

    " C#" rhymes with CRASH!

    I see blue already

    --
    134340: I am not a number. I am a free planet!
  211. Language-independence? by Brighten · · Score: 1
    "[C#] provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide."

    How can a language be language-independent?

    OS independence does sound good though. I bet it'll run on each and every OS supported by Microsoft!

  212. C-- by Tom7 · · Score: 1

    No, though there are no doubt many joke languages called C--, the "real" thing is a portable assembly language used as an intermediate language for compilers.

  213. Security? No i18n in Java? Wrong. by blackwizard · · Score: 2

    A quote from the article:
    Goodhew added that C# allows "developers (to) access any hardware and software." C# provides "complete access to (the) underlying platform."

    Great... I get to open up all my devices to the web... how secure is that? How am I supposed to know if I should grant or deny when a box pops up that says:

    This web application has requested access to your hardware. Would you like to grant it? (y/n)

    I mean, I could "just say no" -- but then I might miss out on a jolly tune! WTF?

    I can smell the viruses brewing from here.

    Another quote from the article:
    It provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide.

    "Language Independence"? That statement is a bit vague -- so I am not sure what this guy is trying to say, but if he is talking about i18n, he is just wrong! Not only does Java have i18n support, but it would also be trivial to implement in any language that didn't. What the heck does this guy mean?

  214. I just need to know one thing... by ktakki · · Score: 1

    How do I shoot myself in the foot with it?

    k.
    --
    "In spite of everything, I still believe that people
    are really good at heart." - Anne Frank

    --
    "In spite of everything, I still believe that people are really good at heart." - Anne Frank
  215. Re:Interesting Quote by nemoc · · Score: 1

    Well...C++ doesn't allow assignment to a NULL pointer, so
    void * NULL;
    NULL = (void*)0

    technically shouldn't work, even though it does on _every_ c compiler I've seen, inless ANSI_STRICT or some such is turned on.

    great, let's do what EVERY other vendor on the planet does, and say it's a brand new innovation! we invented a new language!
    but seriously, I'm sure they have enough *value added* features to make sure it's not compatible with C/C++.
    elements of java probably means that class definition and decleration will be combined.

  216. havent we been here before? by davebooth · · Score: 1

    Embrace and extend, jam our solution down so many throats it becomes the new Food(tm) standard...

    This is precisely how they got bitten before and if they want to add yet more weight to all the arguments for something radical and painful happening to M$ then by all means let 'em do so.
    # human firmware exploit
    # Word will insert into your optic buffer
    # without bounds checking

    --
    I had a .sig once. It got boring.
  217. Re:garbage collection performance by Tom7 · · Score: 2

    Certain patterns of memory access get better performance under one or the other scheme. Mostly you'll see best performance with down-and-dirty machine level stuff (C/ASM), as usual.

    Most garbage collectors work by sweeping over the active areas of the heap, and copying anything which is reachable. So, the cost is linear in the amount of memory you're using (it never really detects circular structures; it just never copies them).

    But consider:

    My current area of study is programming language/compiler design, and I can testify that practically nobody publishing in journals these days cares about "old fashioned" ideas like C. Basically everything we know to be done to optimize C code has been done to death. "New fangled" languages are the future (er, duh). Mainly, these languages are built around elaborate type systems, which give the compiler and programmer a way to reason about a program without running it. It's lots of math stuff that sometimes gives the compiler the ability to make optimizations that would be impossible in C (because more is known about the way the program behaves while compiling).

    Home-brew memory management (malloc/free, new/delete) are unfortunately a big problem for these static type disciplines, since the contents of memory is very dynamic. Garbage collection lets us design these type systems more easily, and gives us more power.

    So, not only is garbage collection extremely convenient, it also enables other really nice language and compiler features, some of which can speed up your program even if GC slows it down.

  218. Re:Embrace & Extend Again by Misch · · Score: 1

    dirty tricks are the only games Microsoft knows how to play

    Well, there is that Minesweeper game...

    --

    --You will rephrase your request for me to go to hell. Goto statements are not acceptable programming constructs
  219. Re:B sharps by acomj · · Score: 1

    They should have named it after homers barber shop quartet...

    D-Oh

  220. Same concepts as java? by mindstrm · · Score: 2

    So it's designed to run on a completely cross-platform VM, and they will openly license it to anyone, for free? Cool! Way to innovate!

    SOmehow.. I doubt it..

  221. Re:Embrace & Extend Again by slickwillie · · Score: 1

    Some people think Java is what C++ should have been, O-O without all (or most) of the problems.

  222. Re:Too Little, Too Late by Larne · · Score: 1
    Java has to much momentum to be supplanted by this Java'ish MS mutant.



    I would tend to agree with you... but there was once a time I had thought "Netscape has too much market share to be supplanted by IE."

    If MS makes it through the current suit unscathed, they will find a way to bundle C# with something fundamental, and lock Java out of it.

  223. Prof Nyarly on Garbage Collection by Nyarly · · Score: 2
    When I tried to explain the lack of a real destructor to a fellow C++ programmer he was absolutely astounded.

    That your grasp of Java (and garbage collection) is rudimentary is made obvious by the forgoing statement. Out of fear that there are other's who disparage garbage collection for lacking destructors let me throw this into the thread.

    Using a destructor in a garbage collection scheme would be like writing top level functions under object orientation. Like C++, yes. The point, though, is that the collector takes care of your allocated and unused memory on the fly without interference. And while it feels weird to create objects and then leave them to be collected when you start Java (or other GC environments) the idea is that, much like the register directive, delete is a thing of the past; the machine should know best how to deal with it.

    Finally, the result of run time checking and garbage collection is a debug cycle shorter than the coding cycle. And even though you might disparage the specific implementation, that's a result that's very very nice.

    To be sure, I code a lot more in C++ than Java, but that's because I'm looking at final run speeds, not development turnaround.

    Ushers will eat latecomers.

    --
    IP is just rude.
    Is there any torture so subl
    1. Re:Prof Nyarly on Garbage Collection by DrCode · · Score: 1
      In C++ I can be confident that whatever resource is represented by "r" is now free.

      You can only be confident if you know how Resource's destructor works. Maybe it doesn't free everything. Or even worse, maybe it frees too much.

      Consider:
      class Mystring {
      char *str;
      public:
      Mystring(char *s) : str(s) { }
      }

      Class Mystring does NOT free its string. Good thing, too, since it doesn't make a copy of what's passed. It would be more robust if it made a copy and then deleted it on destruction; but it would also be a lot less efficient. The point is, you have to know how it acts internally, and you have to keep track of what you do with it.

      Although I still prefer to program in C++ (I've just been doing it for far longer), I really appreciate the use of garbage collection. A LOT of messy logic and potential bugs simply disappear.

      BTW, you can use GC with C++. I used the Boehm implementation on a fairly large project, and was quite happy with it.

    2. Re:Prof Nyarly on Garbage Collection by a42 · · Score: 1
      The point, though, is that the collector takes care of your allocated and unused memory on the fly without interference

      The assertion that garbage collection can completely replace a properly crafted destructor is patently false. Remember -- destructors are designed to free up resources of which memory is just one example. Consider the following code:

      if (1)
      {
      Resource r(some_stuff);
      r.DoSomething();
      }
      DoOtherStuff();
      In C++ I can be confident that whatever resource is represented by "r" is now free. If that is memory, it has been returned to the stack. If it is a file handle, the file has been closed. Regardless of what TYPE of resource it is, it is now (assuming I was smart enough to write a proper destructor) freed back to the system. If it happens to encompass multiple resources (let's say, a block of memory, a file, and several other objects) I can feel confident that all these resources are properly freed.

      In Java, I have to wait until whatever non-deterministic point in the future the JVM decides to run garbage collection. Then and only then can my "finalizer" be called to free up my resource. (My mastery of the language is what's rudimentary; I do know a little about how it works.) I've yet to meet a machine that "knows best" or even better than I do when my resources should be freed.

      And no, a "CloseFile()" or "FreeResource()" or "TerminateWeasel()" method is not an acceptable substitute. If some exception is thrown and not caught at this level my destructor will still execute -- and my resource will still be freed. To me, that beats the crap out of garbage collection anyday.

      To be sure, I code a lot more in C++ than Java, but that's because I'm looking at final run speeds, not development turnaround.

      That lack of speed that causes you to use C++ instead of Java is in no small way a result of garbage collection. Back in the heyday of the Apple IIe (pre IIc, pre IIgs, pre MAC anything) a friend asked me to help him debug some BASIC code he was writing for a college class. The program would run fine for an extended period of time. Then, for no apparent reason, the system would slow down to a crawl and a bunch of garbage characters would fill up the graphics screen. Turned out to be garbage collection of all the strings that were being used in the program.

  224. Re:Embrace & Extend Again by Anonymous Coward · · Score: 1
    I generally don't post anonymously, but I knew that somebody would moderate my previous post (#14) down. It is not a troll; it is a valid question. Which I will ask again in the hopes that somebody will actually read it before blindly deciding it is flamebait:

    How is Microsoft's decision to "embrace and extend" C/C++ in the form of C# any worse than Sun's decision to "embrace and extend" C/C++ and call it Java?

  225. Re:Talking out of both ends of their ass by mikpos · · Score: 1

    You should reread the article. They aren't contradicting themselves; other people are contradicting them.

  226. Re:Why not just use Python? by Tom7 · · Score: 1

    Python is best suited to scripting because of the run-time penalties involved in interpreting it. Though a compiler could probably be built, it would perform pretty badly.

  227. Re:Embrace & Extend Again by ddsoft · · Score: 3

    Insistence over control of the language!@?!?!? Didn't they invent the language? Does GM give its' cars away for free? Why do they not have the right to control the language? I am not for or against Sun and/or Microsoft. What I am against is the fact that every post on this site seems to say 'You have no right to control what you invent if we like it'. If you don't like their control, don't use it! Use something else! Just stop whinning

  228. Re:C# != Db by Golias · · Score: 3
    C# is Db. Always has been Always will be.

    Ooo... so close, but not quite right.

    You are more right that the person who is insisting they are not the same on "non-fretted" instruments.

    Tonality of notes used to depend on the scale you were playing, and the position of the note within the scale. All notes were perfectly tuned relative to the tonic note, or "root" of the scale. The problem with this was that an organ tuned to play in the key of G-sharp would sound badly out of tune if played in the key of E-flat.

    During the baroque era, the concept of the "tempered" instrument came about. Octaves, fourths and fifths became universal across the keyboard, and the seconds, thirds, sixths, and sevenths were all tweaked so you could change keys and still have a perfect fifth sound like a perfect fifth. Tempered keyboards were not perfectly in tune in the traditional sense, but the change was needed to meet the demands of modern compositions.

    When the means to measure sound frequencies came about, things were locked down even tighter (which is why "middle A", the second fret on a guitar, is often called "A 440).

    Today, C-sharp and D-flat are played with the same key on the piano, same fret on a guitar, and are generally considered to be the same note... However, in the context of a performance a good musician will adjust the pitch of the note ever-so-slightly to fit with the intonation of the ensemble and melody (if they are singing or playing an instrument that allows it).

    So to sum up... yea, it is the same note spelled differently - most of the time.

    --

    Information wants to be anthropomorphized.

  229. As everyone knows... by Chiasmus_ · · Score: 5

    C sharp is the enharmonic equivalent of D flat. Which is probably what I'll end up calling this language.

    --
    "Beware he who would deny you access to information, for in his heart he deems himself your master."
    1. Re:As everyone knows... by rsw · · Score: 1

      For violinists, anyway, C# and D- are not quite the same thing. D- should be played "flatter" than C# as a matter of style.

      Obviously, for pianists this doesn't hold true.

    2. Re:As everyone knows... by dgoodman · · Score: 1

      more likely I will end up calling it D minus, representing the quality of MS's latest subterfuge...

      have fun
      dongoodman

    3. Re:As everyone knows... by Royster · · Score: 1

      So D- is flatter than C#? Weird.

      Singers do microtones, they just don't realize it when they're doing it.

      --
      I have discovered a truly marvelous sig, unfortunately the sig limit is too small to contain i
    4. Re:As everyone knows... by grammar+nazi · · Score: 1

      csharp.(com|net|org) are all taken.
      dflat.com is already taken.
      dflat.net and dflat.org are available. MS didn't think of everything!

      --

      Keeping /. free of grammatical errors for ~5 years.
    5. Re:As everyone knows... by Borg#9 · · Score: 1

      Microsoft has an singing group comprised of employees that is called MicroTones

      --
      Do not taunt Happy Fun Ball
    6. Re:As everyone knows... by Galahad · · Score: 3

      D Flat is a text mode UI framework by Al Stevens and described over a series of columns he wrote for Dr. Dobb's Journal.

      --
      --jdp Maintainer of VisEmacs
    7. Re:As everyone knows... by Auxon · · Score: 1

      They may be taken, but they don't belong to MS.

    8. Re:As everyone knows... by AlterEgos · · Score: 1
      It used to hold true. In the time of J.S. Bach, C# and Db were two different keys on the clavier and harpsichord. When Bach wrote
      • The Well-Tempered Clavier
      , that's what he was referring to. The temperament of keyboard instruments were such that there was approximately 1/8th of a step between C# and Db. The difference also appeared with other chromatics as well. Nowadays, there is no difference, since modern keyboards use the "mean" temperament, which is a little more precisely calculated, and is less prone to dissonance. It's still not quite the Pythagorean temperament, but I'm not one to work the algorithms for it, I'll leave that up to the mathematicians.
  230. Patent? by SolaRJetmaN · · Score: 1

    Perhaps their plan is to get the language into mainstream use, then in a few years, start asking for patent royalties... Judging from MS's other practices, it'll be easy for them to "make it in developers' best interests" to use C#.

    --
    In order to make an apple pie from scratch, you must first create the universe. -Carl Sagan
  231. What's Wrong? by Ozzy · · Score: 1

    The problem here isn't that MS is ushering out another powerful programming language. It's that the language is going to be targeted as a cross-platform (sure...) internet language. And we don't like web pages that can control our hardware. Yes, this is up to the implementor (MS), but if they create a VM that can access hardware, look out. The language isn't the problem here.

    The whole language reeks of Embrace, Extend, Extinguish. But in a different way. Java is based on C++, but simpler. It has garbage collection, and is fairly secure (how many java exploits are there without MS?). And C# is almost identical on paper, with vapor-improvements like 'better' security and garbage-collection.

    Why not just use Java? It's powerful enough, widely accepted and cross-platform...hell Vampire: Masquerade is programmed in Java. But for MS, that would be admitting defeat. And they think they can do better. I don't think they need to.

    --
    Remove the NOSPAM to spam me...
  232. How to pronounce C# by marnold · · Score: 1

    Don't old UNIX hacks refer to # as "splat"?

    We should pronounce this new language "C splat".

    1. Re:How to pronounce C# by Tom7 · · Score: 1

      I call it splat when I'm feeling silly.

      I do like the suggestion to call it "cash" though. ;)

  233. Re:C-Sharp? by jphillip · · Score: 1
    ... and intended to make them C$.

    But I thought MS decided not to move north to British Columbia...

  234. JPython by smileyy · · Score: 1

    JPython doesn't compile python to java bytecodes. Well, I suppose it does, sort of, in the end, but not in the .java -> .class compilation that people think of.

    JPython is a Java implementation of the Python interpreter. Rather than running on Linux or Windows or [foo], it runs on the Java platform.

    The fact that you can use Java classes like python classes is kind of a neat feature, though.

    --
    pooptruck
  235. Re:Embrace & Extend Again by a42 · · Score: 1
    True, and 4 years from now, many people may think that C# is what Java could have been.

    Hey, it could happen.

  236. Response to Sun Suit? by E1ven · · Score: 1
    Is this their responce to the lawsuit by Sun? IIRC, the judge told Microsoft that they had to cease creating Javas Programs, such as J++, until they fixed compatibility problems.
    Is this their responce? Move to a new language?
    "No, sir. We won't fix our mistakes. We'd rather invent a new programming language, sir."
    Sometimes I wonder about them....

    --
    Colin Davis
    1. Re:Response to Sun Suit? by ethereal · · Score: 4

      MS Java's incompatibilities weren't mistakes at all. They were part of the normal embrace, extend, extinguish strategy that they rely on. The only flaw in their plan was that Sun stopped MS before they could completely extend Java. At this point it's probably easier for MS to invent a new language than to find more ways to tear down Java.

      --

      Your right to not believe: Americans United for Separation of Church and

  237. Subset of a Superset by swdunlop · · Score: 1

    C# probably doesn't support template classes and functions like C++, and some of the other C++ tricks that really benefit the header-and-implementation model that is so prevalent today. They're also using GC, instead of new and delete operators, which is drastically different from C++ out of the box.

    It might also only be singly inheritant. (It's still got inheritance like C++, but less of it. ;) )

  238. C-addled? by Zach+Baker · · Score: 2
    It's hard to come up with a non-atrocious name for whatever "C#" is. "C sharp" just seems like another name that companies try to cram down the rest of the world's throat and that consumers just shake their head at. Maybe it should be pronounced "chhh" or "see comment."

    Now that I think of it, why not get technical and use the famous Bell Labs technical term for #? Oh wait, that would make it Coctothorpe. Not much of a ring to it.

  239. Re:Wrong name... by mikpos · · Score: 1

    My guess is because VAGINL doesn't make any sense.

  240. How about... by grappler · · Score: 2

    Very Asinine Generally Incompetent New Ass-Language ;-)

    See? A little profanity and it's ten times funnier... right?

    Saturday Night MotherFucking Live!!!

    hmm, ok it's gonna take a bit more work than that...

    --
    grappler

    --
    Vidi, Vici, Veni
  241. C#: the love child by CharmQuark · · Score: 1
    Ok, so the article claimed C# is a hybrid of C and C++.

    We all know that for all practical intents and purposes, C++ is the child of C, and therefore any hybrid between the two will lead to an animal with 6 limbs, three eyes, no mouth and one butt cheek. In other words, Microsoft has developed another half-assed way to program.

    As far as the claim that programmers can use whatever they wish on a Windows machine, history tells another story. MS has consistently done all they could to move people from non-MS development environments to MS development environments. Many programmers won't like to use C#, but much like VB, they won't have a choice.

    Ultimately this is another attempt by Microsoft to bring down the average intelligence of programmers another notch.

    BTW, I fail to see the use of garbage collection in a serious application language(as opposed to an applet language).

  242. hahaha! by Blue+Lang · · Score: 4

    they have a quote on c|net where an M$ executive claims OS independance for C#.. later, he goes on to say that it's part of visual studio.. so.. hmm..

    awesome! this must mean they're releasing visual studio for solaris, linux, and all the *BSD's!

    Thanks, microsoft! You kids are swell!

    --
    blue

    --
    i browse at -1 because they're funnier than you are.
    1. Re:hahaha! by kinnunen · · Score: 1
      They could argue that Windows 98 and Windows 2000 are different operating systems (they just happen to be binary compatible), so a program/API/whatever that runs on both of them could be called OS independant.

      But that would be silly.

    2. Re:hahaha! by Malc · · Score: 1

      DOS, Windows 3 (including 3.0, 3.1, 3.11, for Workgroups), Windows 95 (including 95a, 95b, OSR2), Windows 98 (including original and SE), Windows NT 3.51, NT 4 (Workstation, Server, Terminal Server), Windows CE, etc, etc... that sounds pretty OS independent to me ;)

    3. Re:hahaha! by g_mcbay · · Score: 1
      Likely what he meant is that the runtime will be OS independent (if they actually release runtimes for other OSes is something that will need to be seen to be believed) whereas the development enviornment they ship will be part of Visual Studio, as are all Microsoft development environments unless you count MASM.

      This makes perfect sense.

  243. Licensing? by Rurik · · Score: 1

    snip>
    Last year, unconfirmed reports circulated that Microsoft was building a new language called "Cool" that would be similar to Java but free of technological or licensing obligations to Sun. Microsoft vehemently denied the rumors. Yesterday, Microsoft executives denied that C# was related to the rumored Cool project.
    /snip>

    Unrelated or not, it is. They 'free' consumers from Sun's licensing obligations, then Microsoft institutes their licenses in the same place.

    Seems like it'll be the exact same, just syntax changes. A way for MS to say 'Hey! Sun's got too much market share here; let's recreate the wheel of their software and seize it back into our control!'

  244. Re:Apparently, you don't read music. by Augusto · · Score: 1

    I do listen to music while I code. Maybe that's as far as I should combine the two.

    --

    - sigs are for wimps.
  245. Maybe it's meant to replace VBScript by John+Jorsett · · Score: 1

    Perhaps MSFT needed a new language in which the world's angry loners can write viruses and trojan horses now that everyone has grown suspicious of VBScript.

    1. Re:Maybe it's meant to replace VBScript by TummyX · · Score: 1

      Uh, VBScript is an ActiveX Scripting language, it doesn't take much to write a new one.

      There's already JavaScript that can be used ANYWHERE vbscript can be used.....and ActiveState also have perlscript which can be used ANYWHERE vbscript is used. This includes inside ASP, Windows Scripts, and Internet Explorer.

      It appears if C# is real, it's NOT a scripting language.

    2. Re:Maybe it's meant to replace VBScript by SnapperHead · · Score: 1

      I think MS needs to be replaced, make life much easier.

      --
      until (succeed) try { again(); }
  246. New easier syntax!!! by nachoman · · Score: 1

    I know the real reason Microsoft is making C#...

    Example of the new syntax:

    #include "visualj.h"
    #include "visualbasic.h"
    //#include "c.h"
    #inlcude "non-standard-C.h"

    void newLanguage(C#)
    {
    VisualStudioPrice+=400$;
    if(userMachine != Windows2000Professional)
    requireUpgrade(400dollarsMore);
    }

    Just another product to sell...

  247. What I think... by delmoi · · Score: 1

    Is that it will probably suck, at least in the begning, compared to java.

    Of course, the JDK 1.0.x stuff really seems to suck now.

    (ot)
    Does anyone here happen to know how to get good, timing in java programs? the System.getCurrentTimeMills() or whatever only returns multiples of 50 or 60. It really bites. Is there a better way?
    (/ot)

    --

    ReadThe ReflectionEngine, a cyberpunk style n
  248. Re:M$ sucks fp?? by dgph · · Score: 1
    People like that make me laugh. Microsoft isn't innovative, they simply tie existing technologies into their OS for their own gain, which comes across as making their $hit more user friendly..

    I'm not sure what point you are trying to make here.

    Wind0z L0vers suck. They don't realize that if it wasn't for other OS's/competetion, they would be paying $300 for a crap OS. Still, they wish every other OS would die and they're would only be Microsoft.

    You talk about competing with MS, yet you don't want to try to understand their strategy. I suppose you think you'll win by pure righteousness alone. Good luck.

  249. *Yawn* by jonabbey · · Score: 3

    Yet another uninformed anti-Java rant.

    Speaking as someone who has written a couple hundred thousand lines of Java code and seen that code work without tweaking, first time, on OS/2 and Macintosh after developing it exclusively on UNIX and testing it on Windows, I have to disagree with this 'almost not cross platform' assertion. Scratch that, I really have to laugh at it.

    The trick to cross platform coding with Java is that you have to code to the set of API's that Sun has published and standardized. If you do that, and if you don't fall into a hole that Sun has left in their API's, you're fine. Someone has to define the greatest common denominator of portability, and Sun's been doing a surprisingly good job at that.

    I will be very interested to see if Microsoft will even attempt to define a substantial set of runtime API's for the C# runtime or whether they will just provide COM and SOAP and claim that that's good enough while encouraging everyone to use COM-wrapped Win32 to get their work done.

    I'm quite looking forward to seeing what Microsoft actually has in this C# and whether they actually have something new and innovative. All the blather about C# not being a response to Java is obvious nonsense, of course.

    If Microsoft attempts to duplicate the Java API set with C#, then they will be open to all the same criticisms of platform definition and limited service coverage that Java has been since it was created. If they attempt merely to provide clean access to operating system API's with really decent runtime #ifdef and #include type functionality, so that the same piece of code can conditionally execute sections of code based on the underlying environment, while still sharing the high level logic and providing a Java-like code distribution framework *and* just enough runtime functions like threading and garbage collection, then they might have something which might really swing the pendulum away from Java.

    They'd have to standardize it, though, after screaming at Sun for four years about that.

    Interesting times ahead.

  250. Ermm.... by nstrug · · Score: 2
    Either this is a troll, a joke I don't understand or you got a D- in music at school...

    C# is three semitones higher than Bb. The even-tempered western scale goes: C,C#,D,Eb,E,F,F#,G,Ab,A,Bb,B

    Nick

    --
    -- "It's a sad day for American capitalism when a man can't fly a midget on a kite over Central Park" - Jim Moran
  251. Another M$ ploy to co-opt an existing technology by exploder · · Score: 3


    "C# is Java by another name," said Steve Mills, general manager of IBM's software division.

    If Microsoft can't make their own flavor of Java, and call it Java, then they'll just do the same thing, and call it something else ("C#"). This is a very typical strategy from M$: mirror an existing technology, add enough "features" that it's not compatible, then use their market clout to shove it down everyone's throat.

    --
    Yo dawg, I heard you like the Ackermann function, so OH GOD OH GOD OH GOD
  252. "... is a hybrid of C and C++"? by Ded+Bob · · Score: 1

    Does anyone have more details on this? I didn't see anything apparent on Microsoft's site.

    1. Re:"... is a hybrid of C and C++"? by Blue+Lang · · Score: 1

      it runs in a VM and includes garbage collection.. ie, it has nothing to do with C or C++. :P

      hopefully it'll take off about as well as WinCE.

      i love the D flat moniker, tho.

      --
      i browse at -1 because they're funnier than you are.
    2. Re:"... is a hybrid of C and C++"? by Ded+Bob · · Score: 1

      hopefully it'll take off about as well as WinCE.

      Too popular. I think you mean PC Jr. :)

  253. Re:Embrace & Extend Again by g_mcbay · · Score: 3
    Huh? Did you read the article? J++ was the "embrace and extend" Java move -- it mostly failed (though Microsoft's JVM, for 1.1 compliant apps, was probably the best ever..even for running pure-Java code).

    Calling "C#" an embrace and extend play on Java is like calling Java an embrace and extend play on C++. In either case they are simply two competing OO languages with a common base (C-style programming). I actually welcome this. Hopefully Microsoft will make their technology multiplatform (not holding my breath, but..). It would actually be a GOOD thing to have a serious Java competitor out there to light a fire under Sun's collective asses.

  254. Not portable enough... by Christopher+B.+Brown · · Score: 2
    The problem is that there's too much variation in the way that C can be written and deployed to treat it as a nice "portable assembler."

    The reason is that the C standard had to be open to the use of C for quite a lot of specific applications, notably including embedded applications, that aren't really representative of of the "portable assembler" intent.

    In addition, C-- adds in semantics relating to memory management, garbage collection, and such, that C actively eschews, and which C++ left out for so long that it seems unrealistic for it ever to cleanly address.

    --
    If you're not part of the solution, you're part of the precipitate.
  255. This is really good news, actually.... by MrDingDong · · Score: 2
    One thing everyone is overlooking is that gt 90% of all the world's computers run some form of Windows, not Linux. That's the hard reality.

    For whatever reason, which we don't really need to know about as we are just programmers, Microsoft is not supporting Java wholeheartedly on Windows. So what if they come up with their own language, as long as it's got some really neat technical features like what's in Java? Cool, I say. At least Microsoft know how to get the best performance out of Windows and in the end we all benefit.

    Face it, we are all going to have to learn this language sooner or later. Our management will see to that. Windows is the most common OS on this planet and if we want to continue to earn a living, this language is in our future.

    Let's be practical, gentlemen.

    1. Re:This is really good news, actually.... by Chris+Locke · · Score: 1
      For whatever reason, which we don't really need to know about as we are just programmers
      ...
      Face it, we are all going to have to learn this language sooner or later. Our management will see to that.

      It's this sort of Head-in-the-Sand sort of attititude that means that M$ will continue to ply dodgy software that we all have to use.

      Start telling your managers how poor this stuff is. Start showing them how good some of the alternatives are.
      Not condemming is as good as condoning. Make a noise - it's the only way to be heard.

    2. Re:This is really good news, actually.... by at0m · · Score: 2

      I agree with what you say but not with your opinion. I admit, the first thought that came across my mind when I saw this was "great - another new language I can easily master and add to my resume." But then as I learned more about "C#" I found that it was really just a Java for Windows to immorally get Microsoft out of its trouble with Sun. As I read through the hundreds of Slashdot comments, I see that NONE of the "geeks" - the programmers, the people who are the most capable computer users, and the people Microsoft needs program in this language and to make this language a success, are all disgusted by it.

      How can Microsoft succeed with such a language is the majority of the programming elite refuses to accept it? I'm sure a lot of us are going to, begrudgingly or enthusiastically, learn the language. But I suspect that since this language won't have the excessively user friendly interface of the Visual Series (click the mouse key and press 'G' - you've "programmed" Space Invaders!) yet it also won't have the power, or at least the support, of Java - then it is going to lose both audiences, the programming kiddies and the programming elite.

    3. Re:This is really good news, actually.... by 0x0000 · · Score: 1
      Hey, Steve Ballmer and Bill Gates, Where are the 1 billion transactions daily occurring?
      M$ campus in Redmond, of course...
      --
      "The Internet is made of cats."
  256. Re:Join me by grappler · · Score: 1

    I'm with you!

    (I recently started that kind of thing anyway)

    --
    grappler

    --
    Vidi, Vici, Veni
  257. Forgotten, but not Gone by swdunlop · · Score: 1

    For those of you, thinking Bob has left our miserable lives, remember he is looking out for us, from his new avatar, the Microsoft Office Paperclip.

    Bob be with you.

    1. Re:Forgotten, but not Gone by sirPaul · · Score: 1

      Ok, so I'm at FatBrain.com's retail store in San Jose this morning. I see a T-shirt that made me laugh my ass off right there in front of the cashier. (I had to get an extra bag for it and take it back to the office for reattachment.)

      Its a dude brushing his teeth with that groggy morning look, and a paper clip on the counter saying "It appears you are brushing your teeth. Would you like to:
      A) Learn more about brushing teeth
      B) Brush teeth witout any help."

      The dude looked like he was gonna kill the damn thing.


      Paul Bryson
      "The shortest distance between two spoons is irrelevant.

      --


      -pB
  258. Real list of features: by Sig��l+11 · · Score: 4
    Here's the real list of features, from a secret memo leaked to me from Microsoft
    • We'll give out the reference manuals, but they won't cover all of the API's.
    • Compiler will be free until there are no competitors left.
    • Continues Microsoft's great tradition of stealing good ideas from other places and then botching the implementation.
    • Embedded into the next version of Windows.
    • Hungarian notation is forced standard.
    • Professional version doubles the number of race conditions present!
    • Perfect tool for virus writers.
    • Easy-to-learn Visual Basic hooks speed the development of crappy shareware using the product.
    • And as always, much much more (if you buy the Enterprise Edition)!.
    --

    -o Disclaimer: My employer doesn't even agree with me about C indentation style. o-

    1. Re:Real list of features: by MattW · · Score: 1

      Seriously. There's a whole other lawsuit Microsoft SHOULD have to deal with about their hiding so much of their API from other developers -- never mind their browser war behavior.

  259. CNC by Java_the_Hutt · · Score: 1

    "Yesterday, Microsoft executives denied that C# was related to the rumored Cool project."

    Does that mean that C sharp in not cool?

    When is M$ gonna do something cool?

  260. Re:Apparently, you don't read music. by Augusto · · Score: 2

    > # is pronounced "sharp" on sheet music.

    I'm not thinking about sheet music when I'm programming. Maybe I should ? ;)

    --

    - sigs are for wimps.
  261. virtual machines by ILikeRed · · Score: 1

    Sounds to me like Microsoft is planning to phase out the Java Virtual Machine and replace it with their own C# Virtual Machine - forcing any Java code to run in a different sandbox. That's a much bigger story than a new programming language.

    --
    I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
  262. Re:Apparently, you don't read music. by BenByer · · Score: 1

    "It's the next half-step up from C"

  263. Re:Interesting Quote by void* · · Score: 1

    Hold up.

    void *NULL;
    NULL=(void *)0;

    Will get expanded by the preprocessor to

    void *((void *) 0);
    ((void *)0)=(void *)0;

    Now, I don't have one handy to check, but a c compiler should choke on this whether ansi strict is on or not. The second line will probably cause an 'invalid lval' error of some sort or another, and the first line doesn't -mean- anything, and probably would cause an error (although I can't be sure, since i don't have a way to check right now)
    Am I right or am I wrong?

    --


    Code or be coded.
  264. Will it remain private? by Watts · · Score: 1

    The real question here is whether Microsoft is going to keep this technology Windows-only, if they're going to make the minimal showing (a Mac version, possibly even HPUX or Solaris like IE), or if they're going to go full out and either port it to a lot of platforms. Even in that case, it's a toss-up whether they port it themselves, allow others to under NDA (like some Java VMs), or allow the source to the compiler/interpreter to be open enough to allow others to do so.

    If they wanted to truly standardize, they could get the language ANSI certified or somesuch. While APIs aren't going to be the same, the language would have a basis, and Microsoft would be able to say they have a language controlled by an independant standards body, while Sun would monopolize Java. This would be sort of similar to the approach they took with their web browser

  265. okay, so where is the language specification? by perfecto · · Score: 1
    if this is a java killer, it's a very bad one! i went to their site and there is nothing on this so called c# that they just launched. no compiler, no language specification, no virtual machince specification, nothing. how do they expect to catch up to java's growth without these? c# will fall c-flat!



    --
    J Perry Fecteau, 5-time Mr. Internet
    Ejercisio Perfecto: from Geek to GOD in WEEKS!

  266. Re:Another M$ ploy to co-opt an existing technolog by Shadarr · · Score: 1
    I propose naming the language WINJ, because there seems to be a lot of whinging about it.

  267. C-Sharp? by glitch_ · · Score: 2

    Next in the line of programming languages
    Db - D Flat: The same as C Sharp, yet extended a little further
    Ebbb - E Triple Flat: Even cooler...cause it uses more musical notations then all other programming languages ever developed
    oh..and since when are programming languages equated with musical notation?

    1. Re:C-Sharp? by seagis · · Score: 1

      Or, better yet:

      They develop their next language and call it "B-Flat" and say that it's such a vast improvement on C# that it wraps itself all the way around the musical scale. They'll have the entire range of musical notes covered in one fell swoop!

      That way they can make you pay for the EULA any time you want to pick up a guitar.
      -----
      if ($post eq "finished")
      {
      print "sig\n";

  268. The _results_ may be oxymoron... by Christopher+B.+Brown · · Score: 2
    ... But there actually are some rather smart people working at Microsoft Research.

    Just because it's fun (and easy!) to bash the parent company does not mean that the research division is composed of hairy-backed, knuckle-dragging cretins.

    --
    If you're not part of the solution, you're part of the precipitate.
    1. Re:The _results_ may be oxymoron... by roca · · Score: 1

      I know a number of people at MSR. Some of them are my friends. Unfortunately, it is definitely the case that MSR people --- even those at MSR Cambridge --- are as brainwashed about the company as are the other employees. It's quite sad.

      They're certainly just as smart as they used to be, but then, a lot of the regular employees are talented too. Their talent is just directed differently.

  269. Re:#define by Augusto · · Score: 1

    It's definetly not silent as you can see by the number of replies. We just can't agree what to call the symbol.

    If it was silent, maybe we wouldn't have this debate. Good idea !

    --

    - sigs are for wimps.
  270. Re:M$ sucks fp?? by g_mcbay · · Score: 1

    Wouldn't it be good to wait until the language is actually unveiled before you bash it as "crap"? Microsoft does, once in a while, actually produce something cool (even if always fairly derivative).

  271. Re:Too Little, Too Late by kindbud · · Score: 1
    I am seeing huge demand for Java programmers even here in the midwest (which usually lags the coasts in addopting technology). Supprisingly, java has found a very strong niche in the middleware arena.

    This is old news Ohio-boy. The coasts have already dumped their Java middle-ware because it doesn't scale (DUH!) and are going back to Apache, mod_perl, PHP, MySQL and the like. You'll discover the same problem in about 18 months and do the same as we did - DUMP THAT BITCH!!

    --
    Edith Keeler Must Die
  272. Revenge of the Coctothorpe by Dreamweaver · · Score: 4

    Not just touchtone phones, Octothorpe is the correct name for the # symbol.. though i'm betting the MS marketing department didn't know that, because Coctothorpe sounds like a really awful porn adaptation of a B-grade horror movie.
    Dreamweaver

    --


    "If a man hasn't discovered something he will die for, he isn't fit to live" -- MLK, Jr.
  273. Microsoft's New Language by FascDot+Killed+My+Pr · · Score: 1

    This is old news. Their new language is called "MicroSpeak". Here's a sample:

    Microsoft: Source of all innovation.
    Consumer: Recipient of innovation (and therefore all consumers are Microsoft customers and vice versa)
    Bug: Potential innovation
    Lawsuit: Oppression against innovation
    Competitor: Reason for innovating. Not because they "spur us on"--because that's the only way to crush, I mean "innovate", them.
    --

    --
    Linux MAPI Server!
    http://www.openone.com/software/MailOne/
    (Exchange Migration HOWTO coming soon)
  274. Re:WHERE ARE THE SPECS??? by Masked+Marauder · · Score: 1
    read the article, MS explicitly said that there is release date scheduled. I guess that means RSN.

    Maybe this is their first vapor language?

  275. After the ruling by Tiro · · Score: 1

    I think there is some significance that this comes out just after Judge Jackson referred this case to the Supreme Court. He can't say anything about this now, the matter is out of his hands.

    This is incredibly suspect considering the whole set of Sun/Msft fiascos. I would bet my trusty Igman box that they have had this under wraps for some time, just waiting for a calm period in the legal fight to slip it to its legions of single-platform developers...

    kind of makes me sick,
    its just the same old Microsoft, back to its same old tactics

  276. More Cs... by blueg3 · · Score: 1

    ...than a mediocre college student.

    Really, how many C-based languages to we need to have? And how many of us are going to pick up a new, proprietary Microsoft langauage that's a lot like an existing language (developed by a less evil company), but will most certainly be partial to Windows?

    I'm still all for Sun's Java, and to hell with J++, C#, and all of those other deformed Microsoft creations!

    There's just something about proprietary Microsoft-developed Windows-centered languages that sends chills down my spine...

    1. Re:More Cs... by warmi · · Score: 1

      Have you considered the fact that this new language might actually be good and this virtue alone might atract tons of developers ?
      Is this impossible ?

    2. Re:More Cs... by lalas · · Score: 1

      I get what your saying... but I don't think Sun is any less evil than M$, just less successful at herding the sheep lately.

  277. Re:C "hash" by boinger · · Score: 1

    I read it as "see HASH", being that I program in existing languages that already "pronounce" that character properly.

    --
    Send your friends messages of love at fuck-you.org
  278. Re:Apparently, you don't read music. by E1ven · · Score: 1

    Maybe you should...
    Music is a very mathmatical expression. Look back Do DNA's interview yesterday for starters, but thinging about music, and thing about programming, are similiar....

    --
    Colin Davis
  279. Re:C# Concerns by bmajik · · Score: 1

    C# does _not_ use the JVM.

    C# is designed the way it is for trivial NGWS development.

    as far as VC++ becoming standard compliant... expect some more C++ changes as well with VS7...some of which should make developing non-system code in C++ much nicer. Some of the demos of VS7 done today at Forum 2k were very nice.

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  280. Re:Embrace & Extend Again by shambler+snack · · Score: 3

    There isn't any real different. In all the intial press announcements and early books on Java, it was proclaimed that Java was a better C++ because it didn't allow pointers and had automatic garbage collection (memory management) than C/C++ (amoung other things). The problem with Java is Sun's desire to maintain control. What makes the control so blatant is that Sun went through two exercises where they were going to make it an open standard, only to kill that effort at the last minute. Rather than rehash the why and wherefore of both attempts, let me just say that it would ahve been better if Sun had never even made the effort in the first place. Sun has, IMHO (and many others) come across looking like M$ in the way it has handled not just Java but the community at large; cynical and manipulative for the ultimate benifit of Sun.

    And I'm sorry you got modded down by someone who can't differentiate between a legitimate question and a real troll. I'd like to know who moderates comments so that we could moderate the moderators.

  281. Re:Objective C? by imac.usr · · Score: 2
    Well, it's doubtful they're going to support one of the the primary development languages of their good friends in Cupertino. Besides, I'm guessing most NeXTSTEP/OPENSTEP developers would pound MS into oblivion for monkeying around with ObjC.

    --
    I use Macs for work, Linux for education, and Windows for cardplaying.
  282. Re:WHERE ARE THE SPECS??? by Masked+Marauder · · Score: 1

    oops, should read "there is no release date scheduled"

  283. Visual Basic 7 in Disguise? by The+Wookie · · Score: 1
    I was just thinking that C# may just be a different syntax for VB7. If you look at the announced features for VB7 (exceptions, inheritance, overloading, polymorphism, free threading). The descriptions of how C# will really enhance web applications sound suspiciously to the descriptions at
    http://msdn.microsoft.com/msdnmag/issues/0400/vb nexgen/vbnexgen.asp
    describing the web-enablign features of VB7.


    Maybe they just made a C-like syntax alternative for VB7 that uses the same compiler back-end as VB7.

  284. Re:Embrace & Extend Again by sklib · · Score: 1

    Sun will never give up control of Java -- it is their baby. Given that, I do not believe that transferring control to a separate entity will help in any way. Right now java is progressing nicely. 1.3 runs faster than 1.2, and hopefully 1.4 will be even faster. I think that any kind of change to the development process would be detrimental.
    That aside, I just wish you could overload operators...

    --
    -S
  285. Re:Gotta love the quotes... by Enoch+Root · · Score: 2
    I'm sorry, but your comments rank of elitism to me. What's wrong with a programming language that's both powerful and easy to use? Should developpers create language that are purposefully obscure and contrived in order to deter script kiddies?

    Ease of use and platform access have nothing to do with the inherent dangers of a programming language. Ideally, a programming language should be powerful enough to let you do anything with the hardware short of exploding the monitor, and easy enough to use that a baby can get some serious modeling done.

    Security aspects of the code arise when people are capable of doing stuff to your programs that wasn't intended as per the design specs. In large part, the responsibility for this lies on the programmer, and not a lot on the company that developped the compiler and language. Of course, this is where C# is most likely gonna suck, much like VB does.

    But don't say a powerful and easy to use language is a bad thing. Cause otherwise, we might as well all go back to Assembler.

  286. Talking out of both ends of their ass by hodeleri · · Score: 2

    "...Not a Java competitor..." ... "...It kind of mirrors (Java)..." ... "C# is the alternative to Java..."

    So it has features of Java, is an alternative to java, but its not a competitor to Java. Hmm, that must mean that C# is going to be vapor or a big flop. Otherwise they are only contradicting themselves (which is quite rare to see in a single press release).

    --
    Eric is chisled like a Greek Godess

  287. you know... by Evro · · Score: 1
    How does MS do it? How can they sit there with a straight face and say they don't have a monopoly? My prediction is that if/when this thing ever comes out it will be the end of C, C++, and Java, simply because of the power MS has with its monopoly over computerdom. Surprise! Only programs written in C# will run on WinCE/"Me"/2000! Another market stomped on by the behemoth. This is my prediction. Maybe it'll take 5 years or so.

    Of course, I doubt there'll be a GNU C# compiler, so there will always be that contingent of C/C++ programmers out there. But I'm sure MS will be releasing free compilers to get people to use this thing.

    Anyway, just more bleak news from everybody's favorite untrustworthy standards-busters.

    __________________________________________________ ___

    --
    rooooar
  288. There's *MY* daily dose of FUD... by selectap · · Score: 1
    Oh boy...where do I begin with this one...

    Microsoft executives said the new language, an easier-to-use version of the popular C++ language, is intended to drastically simplify and speed up software development as well as promote the company's Next Generation Windows Services (NGWS) initiative.

    Any language that's a hybrid of C and C++ can't possibly "simplify" development of anything, especially for those VB point and drool types. How the hell do you make a hybrid of C and C++ anyway?

    While sources say C# will include several features apparently modeled on some of the most popular features of the Java programming language, Microsoft executives say the language is not a Java competitor. "This is not a response to Java," Goodhew said.

    One word: bullshit.

    One source familiar with Microsoft's plans said C# is "intended as (a way to foster) new styles of development. Combine it with the Web services (Microsoft) is announcing and you get powerful stuff. It also so happens to effectively mirror what Java can provide. It provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide."

    Woah...hold on a second here. This is going to be os independent? What other OS's will it run on? How is it going to run? They say Java can't provide language independence? Obviously they've never heard of JPython or any of the other languages that have compilers that can translate high level source code to Java bytecode that will run on a JVM.

    In spite of all the hoopla, we'll see how long it takes for this to move out of the vapor stage, if it ever does...

  289. Gotta love the quotes... by pb · · Score: 3

    Read these, and think "Word Macros", or "ILoveYou"...

    ..."intended to drastically simplify and speed up software development"...

    Good intentions, yep. Sounds about right.

    "Microsoft has its own unique programming model with Visual Basic..."

    That's putting it mildly.

    "Combine it with the Web services (Microsoft) is announcing and you get powerful stuff.

    Oh no!

    Okay, I'm stopping right here.

    Powerful + Easy-to-use => Dangerous

    Anything about "Security" has to be marketing. If it's Powerful, and it's Easy-to-use in the Microsoft sense, and on the web... then you're going to be in BIG trouble, Real Soon Now.
    ---
    pb Reply or e-mail; don't vaguely moderate.

    --
    pb Reply or e-mail; don't vaguely moderate.
    1. Re:Gotta love the quotes... by pb · · Score: 1

      Wow, Enoch Root! I haven't seen you in a while...

      Maybe I did come off as being somewhat elitist. Unfortunately, I'm not uninformed here, either. Powerful and easy-to-use in the Microsoft sense of the terms seems to have to do with providing simple scripting functions for dangerous OS-level operations that anyone can get access to...

      Also, this seems to be their design methodology. Either that, or they leave that part of the design process up to Marketing or Sales so they can get some coding done, and let Legal take care of the bugs so they can get some more features in. That's the only way I can explain their products without mentioning the phrase "criminal negligence".

      I'm sorry I confused you using common terms; I was using the Microsoft Meaning(tm) of those terms.

      Hey, a powerful and easy to use language is a GREAT thing. But what's wrong with Assembler? It is at the least very powerful and flexible. Didn't you mean to say COBOL, or DOS Batch files, or machine-code-on-punch-cards, or something? :)
      ---
      pb Reply or e-mail; don't vaguely moderate.

      --
      pb Reply or e-mail; don't vaguely moderate.
  290. Re:Hmm -- good name! Not! by Royster · · Score: 2

    Grrrrr. Is there no one left that calls C++ C sharp? (Imagine overstriking the two plusses to form a # sign.)

    --
    I have discovered a truly marvelous sig, unfortunately the sig limit is too small to contain i
  291. I wonder . . . . by d3a350 · · Score: 1
    There are two things I wonder about all this. One is how quickly MS will be able to convert programmers to use the language? I'm guessing that they'll try to push VB and VC++ programers to adopt it, maybe Java and J++ people. Personally, my reaction is that I loath to try and pick up on any new language at this point (Perl, Java, JavaScript, and enough VB/VBScript to get by is enough for now). Then again, maybe I'm getting old.

    Secondly, anyone taking any bets when this thing becomes available (and how long after that it becomes actually useful)?

  292. It's music, # means (note)-sharp. NT by kwerkey · · Score: 1

    I said NT

  293. C# Concerns by herwin · · Score: 1

    The news reports make C# appear to be a Java clone designed to make use of the existing MS jvm. Given that Sun designed the jvm to support other languages than Java, I can see why MS has gone this direction. I suspect C# will have similar weaknesses to those seen for Java. Based on a discussion with a Java guru, these are likely to include: 1. High memory utilization (heh...) 2. Garbage collection preventing use in RT and near-RT applications. Also, object lifetimes are not well-defined--they may never run their finalization logic, which can be disasterous for persistent data objects. 3. Increasing memory fragmentation over time (also seen in MFC). 4. Object (especially String) instantiation as a big slowdown 5. The code associated with large objects being inefficient 6. Inadvertant memory leaks (multitudinous ways) 7. Class hierarchy explosions 8. Threads (heh...) If you follow the C++ language boards, you will have noticed that MS has shown little interest in VC++ becoming standard-compliant. This appears to be the same pattern. Comments?

  294. Re:Wow! Where have we seen this before? Yes... by MooseMunch · · Score: 1

    Microsoft isn't the only company to do this...

    Most people that have worked in a large data center will se ITO/Openview
    by HP, for HP, only supported on HP.

    It's called business!

  295. Intentional Programming? by faichai · · Score: 1
    The article mentions platform and language independence.

    This may have something to do with their Intentional Programming research (being carried out at Oxford University), which is a way of abstracting the intention of a piece of code away from its implementation detail. Here's some links

    MS Research - IP Overview

    MS Research - IP Detailed

  296. Whatever happened to... by Slak · · Score: 1

    Blackbird? Wasn't that supposed to be M$'s answer to Java 2 or 3 years ago?

    1. Re:Whatever happened to... by d3a350 · · Score: 1
      Yes and no (if I remember correctly).

      Blackbird was also somekind of proprietary networking thing too. I think it was a reaction to AOL and was killed when they decided to build the Web into Windows (around 1995).

    2. Re:Whatever happened to... by demon · · Score: 1

      For a while, I remember hearing "COOL" was supposed to be the "next big language" that Microsoft was developing. Yet another one that never materialized. They sure do talk a lot about developing programming languages, don't they?

      --

      Sam: "That was needlessly cryptic."
      Max: "I'd be peeing my pants if I wore any!"
  297. Re:Join me by DonkPunch · · Score: 1

    What do you have in mind oh dark^H^H^H^Hdonk one?

    Pretty much just posting pointless crap like this. Sorry, it's not much of a plan -- best I could come up with. It's more fun than getting my blood pressure up every time Metallica says, "Napster bad!"

    So, uhhhh.... you got a URL for those Portman shots?

    --

    Save the whales. Feed the hungry. Free the mallocs.
  298. Re:M$ sucks fp?? by dgph · · Score: 1

    Me> Also, XML is by its very nature Open Source of course.

    AC> Oh, really? ... Please stop being an asswipe.

    I mean that you can open XML in any text editor and look at it. Anyone can look at the source code of an XML document, therefore it's open source (maybe I shouldn't have capitalized the words Open Source). Do you have any idea of what you are talking about?

    I was simply trying to explain what MS may have meant by platform independence, and that the journalist, or whomever to journalist spoke to, expressed it badly.

    I don't really want to defend MS, but there are just so many closed-minded zealots around here.

  299. We don't another stinking language, but... by dorzak · · Score: 1

    We don't need another stinking programing language, but another solid language would be good. There is always room for diversity in computers. Opensource is built on diversity. However, I don't Microsoft can pull off a decent programming language. This could be another tactic. If they "open" up this new language, they may use it as a poster child to say we can play nice. Look at c#... Summary, I will never trust Microsoft

  300. Shh! Not so loud! by swdunlop · · Score: 1

    Next thing you know, they'll be producing Python++ and confusing the living hell out of my MS-loving manager!

  301. C pound, C hash, C octothorpe, C number, ... by Speare · · Score: 3

    Any number of names come to mind.

    "What is in a name? Arrows by any other name would kill just as swift."

    --
    [ .sig file not found ]
  302. What's an Octothorpe? by SubharmonicSound · · Score: 1

    Here's an answer.

    1. Re:What's an Octothorpe? by Speare · · Score: 2

      A footnote mark that is shaped like a Christian cross is called a "dagger," "thorn," or "thorpe."

      A footnote mark that looks like two daggers, laid atop each other, one hilt up, one hilt down, is a duothorpe, or a double-dagger.

      Lay eight daggers, with the hilts all arranged like a tic-tac-toe, and thus, you get the name "octothorpe."

      AT&T apparently used it for the "pound" key on touch-tones, and PostScript uses that name for the symbol in their glyph libraries.

      --
      [ .sig file not found ]
  303. Re:Join me by Shoeboy · · Score: 1

    DonkPunch,

    I have 37 gallons of steaming hot grits and a 14Gb collection of badly faked Portman nude shots. I've been biding my time, waiting, preparing.

    What do you have in mind oh dark^H^H^H^Hdonk one?

    --Shoeboy
    (former microserf)

  304. Double pun. by Ungrounded+Lightning · · Score: 2

    # is the musical symbol to augment a natural note a half tone, making it sharp

    In other words, increment it (by a half-step - the basic quantum of the even-tempered scale).

    So it's a double pun against C++ (i.e. "C incremented by one", or "The next step beyond C"). The other, of course, being that # looks like two +es overlaid.

    I note that by chosing "sharp" (add a half-step) they are only claiming half as much improvement over C as C++ does. B-)

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  305. The speed of a VM on ONE single platform? by Henrik+Jonsson · · Score: 1

    Excellent!
    What the world needs now is a single platform ("platform agnostic"? )
    virtual machine (or "Common Language Runtime") running byte
    compiled code on one single platform... In short, the speed of Java on
    Windows only. Excellent.
    Didn't they have Visual Basic to do just this before?
    If I want to write Windows specific code, I don't need a "hybrid of C and
    C++" running in some kind of virtual machine. I need a compiler.
    And, guess what, I already have a couple.
    Microsoft, this is a Big Dumb. Thanks for playing. B for effort but D- for result.

  306. No Way! by Poligraf · · Score: 1

    Try thinking not only about the compiler. Compiler itself is just a small part. The big one is the library that is tied to Windows very much. It's tied so much that they haven't even produced VB for Mac (IIRC). This kills the idea of VB->JVM applets outright and makes necessary the complete rewrite of the VB runtime library from Windows-based to Java runtime library-based, that is pretty much unfeasible.

    Another interesting point will be the quality. I don't think many people will argue with the fact that C/C++/Java crowd is more competent and professional on average than VB crowd. Even though there are a lot of good VB programmers, it's usually used by the lame beginners who want to become programmers :-( As the result, they will produce the code that is still not very good, so that VB will still be used for non-critical desktop-only projects.

    --
    Tigers respect lions, elephants and hippos. Maggots respect no one. (C) S. Dovlatov
  307. Re:garbage collection performance by pli · · Score: 1

    Most garbage collectors work by sweeping over the active areas of the heap, and copying anything which is reachable.

    The algorithm you are refering to is called Copying (or Copying Garbage Collection). It is NOT the most common algorithm for collecting garbage. Why? Well, simply because of its disadvantages. First it requires a heap twice the size of what the progam needs (often refered to as From-space and To-space). As the amount of memory used by a program increases, less memory is deallocated each time the garbage collector is run and consequently the garbage collections become more frequent. Further, this algorithm can be very inefficient if the number of resident objects is
    large. If the amount of memory occupied by active objects is large, a lot of copying
    has to be performed in order to transfer all active objects from the From-space to the To-space.

    The Mark Sweep and Reference Counting algorithms are probably the most common ones today (but not Copying).

  308. The press conference by Tiro · · Score: 1
    Gates: "New language, I dub thee 'Cee Shit'"

    Tech sector journalists franticly scribble on their pads...

    "Wait, I meant to say 'Cee Sharp'!"

    But the spirits have already done their work.

    Gates: "D'OH!"

    1. Re:The press conference by Black+Parrot · · Score: 2

      > Gates: "New language, I dub thee 'Cee Shit'"

      Somehow, I think this is the term that's going to catch on.

      --

      --
      Sheesh, evil *and* a jerk. -- Jade
  309. Re:And of course it breaks Unix makefiles and scri by devphil · · Score: 2

    Have you ever tried it?

    Naturally.

    It breaks miserably on every system we have here, with every user. It breaks even worse on friends' and colleagues' systems. It is simply not designed to run under anything other than its own OS. Naturally.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  310. It's all so clear now! by Dreamweaver · · Score: 5

    Of course MS releases a new programming language.. they've probably had it in a red, glass-fronted box in the legal department for years marked with a "Break glass in case of anti-trust" sign. Now when they're forced to release the windows source code, they'll just release it in 'C sharp' which nobody knows and is just close enough to C and java to really screw up the people who Do know them.
    Dreamweaver

    --


    "If a man hasn't discovered something he will die for, he isn't fit to live" -- MLK, Jr.
  311. Re:Lies, ... its worse than that by sklib · · Score: 1

    Unless I am wrong, it provides easy internationalization -- probably something along the lines of having a string ID instead of a string, and that string ID pointing at different strings depending on what human language you wanted that string to appear in.. but that's just a guess.

    --
    -S
  312. Nope see the post below.... by Vermifax · · Score: 1

    on equal tempered instruments (Which the slide trombone is not) C# is not always Db especially in the context of a really good player and orchestras.

    Vermifax

    --

    Vermifax

    Logout
  313. Quotes by Hard_Code · · Score: 5

    I am not a crook

    I did not kill Nicole Brown Simpson

    I did not have sexual relations with that woman

    This is not a response to Java

    --

    It's 10 PM. Do you know if you're un-American?
  314. Re:Join me by Shoeboy · · Score: 1

    DonkPunch,

    I'll join you on one condition:

    You must refer to me as 'my young apprentice.' I'll refer to you as 'smoking joe'.

    Is this acceptable?

    --Shoeboy
    (former microserf)

  315. Why not just use Python? by jslag · · Score: 1
    OK, so I've never actually used Python, but based on the comments of Python supporters, it seems like Python would be well-suited to the space MS is trying to occupy: object-oriented, relatively easy to learn, relatively fast, cross-platform (MS does actually mention this as a goal in the Cnet article!). It sounds like MS wants a complied language, so they'd have to come up with a complier, but surely that would be easier than starting over from scratch with a new language.
    Unless, of course, Microsoft is really interested in another proprietary tool that will lock customers into the cycle of dependance.

    ----------------

    1. Re:Why not just use Python? by Alan+Daniels · · Score: 1

      Guess what: *Any* language will have proponents that say it's suitable for every single task, from low-level tasks to high-level scripting. I've seen Schemers, Perl Mongers, Pythonistas, Diehard C coders, C++ wizards, etc, all be guilty of this. It goes with the territory.

      I don't know where you get the one part -- I've never seen *any* Python user propose it for "bare-metal machine language", as you state. Python is not fast due to its dynamic nature, which is a deliberate design choice as a high level language. Any sane Python user will tell you to code the low level parts in C, anyway. :-)

      If you're going to decide what language to try out based on the zealotry of its users, then you should probably design your own from scratch and use it all by yourself. Once you have two or three users, you'll end up with language junkies extolling your creation to the ends of the Earth, even if their arguments aren't always rational.

      I'm a Python fan (as if you haven't guessed already), and I love the language because it is so clean, simple and expressive. I try to advocate it where I can, especially in the areas where Python shines: scripting, rapid prototyping, and creating software that should be easily modifiable and extensible. I also keep my mouth shut when Python isn't appropriate (i.e. where speed matters above all else). Does this mean I'm smug when I do it? Maybe not during, but after, when someone comes back and thanks me for introducing them to the language, which is a nice ego boost. But I'm also happy that I've helped someone find a better tool.

      Python users are some of the most polite programmers I know. Check the comp.lang.python group some time and you'll be suprised how little flaming goes on there. Pretty rare for a language discussion group.

      P.S. I got over the whitespace detail in about 20 minutes. So would you, probably.

    2. Re:Why not just use Python? by Anonymous Coward · · Score: 1

      OK, so I've never actually used Python, but based on the comments of Python supporters, it seems like Python would be well-suited ..

      Based on the comments of Python supporters, Python is the only language that is well-suited for anything, from operating systems to image processing to Web development to bare-metal machine language. They are a smug, zealous bunch and are best ignored. A language where whitespace is significant is obviously the fabrication of script kiddies and schizophrenics.

      In Christ,
      Jim Tannen

  316. get sharp! by ScripKitty · · Score: 1

    I'm sharp you're sharp Ceeeeeeh! Shahhrrp!

  317. Re:Another M$ ploy to co-opt an existing technolog by MrBogus · · Score: 5

    RMS had some interesting thoughts on this --

    Either the Open Source community rewrites Java (calling it by a different name, of course, to avoid trademark problems - [Something] Is Not Java) and then everyone has an open standard to write to; or, every large commercial concern rewrites Java, and then instead of one proprietary language, we have three or four.

    Microsoft has been public about their C# ('COOL') plans for a long time. After a recent standards battle, IBM is grumbling about creating their own Java too. Venture capitalists are probably circling around a few Java-clone startups as we speak.

    So, if we break this down further than Sun/Java = Good and MS/C# = Evil, you'll realize that Microsoft isn't really doing anything more than what other vendors will do eventually.

    --

    When I hear the word 'innovation', I reach for my pistol.
  318. d-flat by brokeninside · · Score: 1
    C sharp and D flat are (for most practical purposes) the same note. Al Stevens (computer book author and columnist for Dr. Dobb's Journal)already has a programming language named D flat.

    In a recent column, he mentioned in passing how he intentionally did not name the language c-sharp because he thought the play on words was so obvious that surely someone had trademarked the phrase. I hope so. I'd like to see Microsoft have to change the name or settle out of court for some undisclosed sum.

  319. the Internet current opinion by Frederic54 · · Score: 1

    take a look at this graphics to see what langage rules/sucks. What sucks hard is Maple, and people prefer Cobol to Java :)
    --
    BeDevId 15453 - Download BeOS R5 Lite free!

    --
    "Science will win because it works." - Stephen Hawking
  320. Objective C? by cxreg · · Score: 1

    I would suggest that they support an existing language like Objective C but far be it from Microsoft to do anything cross platform. Heres to hoping this fades into obscurity soon.

  321. Re:M$ sucks fp?? by g_mcbay · · Score: 1
    One thing confused me.. They said that C# was not only platform independent but "language" dependent. That seems awful hard since you'll be writing c# applications in none other than c#

    I think what the article was trying to say (but it was very vague and I'm sort of guessing here). Is that Microsoft's plans include a generalized VM. That is, a VM like the Java VM, but one that doesn't make any language assumptions at the byte-code level. Basically, a CPU in software.

    This would make sense and be quite cool -- a lot of people have bashed Java in the past because the byte-code level is too "aware" of the higher-level-language. This limits, somewhat, the type of languages that can be implemented directly as Java byte-code targets (I believe there are _some_ Scheme and other language Java byte-code compilers).

  322. Coincidence? by Chris+Locke · · Score: 1
    Is it just a coinicidence that M$ announce C# the day after Vita Nuova announce the launch of 'Open' Inferno?

    Inferno is a virtual OS that runs on many platforms, including tiny ones like Web phones. It even has its own programming language which is C-like, runs in a VM and has often been compared to Java.

    Hmmm the lack of technical info on C# looks asif they have rushed this press release out rather quickly. One wonders if they are trying to detract from Inferno???

  323. My worst nightmare... by michael_cain · · Score: 1
    This could be the beginning of my worst-case scenario from the break-up of MS into OpsCo and AppsCo. Of course, it could still work even if they don't get busted up.

    C# turns into real middleware. Under Jackson's remedy terms, it belongs to AppsCo; OpsCo is not allowed to do middleware. Through the use of decent automated tools, AppsCo ports major applications, starting with the Office suite, to C#. Now you have to have C# on your machine, at least the runtime, to run Office. Other applications follow.

    AppsCo announces C# for Linux. Now Office runs there, and then more AppsCo apps run there, and pretty soon most desktop Linux boxes have C#. Repeat for Macs, Solaris, etc.

    AppsCo provides the C# runtime to other apps companies for free distribution. Tools for conversion from Windows to C# are made available at reasonable cost (at least initially). Other app companies begin porting rapidly to C# in order to get in on the multiplatform wave.

    Unable to compete on the merits of Windows as only an operating system, and with flagging sales as servers and desktops move to Linux and elsewhere (now that the application barrier to entry has gone away), OpsCo is out of business in five years...

    Of course, the C# middleware has lots of undocumented APIs that only AppsCo can take advantage of, and when necessary they can move major pieces of key applications into the middleware...

  324. I used to work for the Borg by Anonymous Coward · · Score: 3

    Let me make a few points clear:

    - C# is just the latest name. COOL was the original code name, which was later changed to Safe C. They are all the same thing.

    - At the time I left, they had no intention of being cross-platform compatible.

    - They ARE trying to get a good RAD environment going. It is intended to fill that space between VB and VC++. If you want to crank out a fast GUI (for example), and hate MFC and VB, then this is for you.

    - They've moved the WFC stuff from Java over to this new language. WFC is really nice to work with IMO.

    - The execution engine (they don't call it a VM) is damn fast. Not native, but pretty good... faster than J++.

    When it gets released, give it a try before you knock it. I think most people will be pleasantly surprised.

  325. Re:Wrong name... by Rand+Race · · Score: 1
    Or;

    C++
    Unified
    Non-
    Inspired
    Language
    Intended
    Not for
    Gnu or
    Unix
    Specialists

    --
    Insanity is the last line of defence for the master diplomat. But you have to lay the groundwork early.
  326. The best part... by Joe_NoOne · · Score: 1

    I think the best part is :


    "All languages will have equal footing on Windows," one source said. "You can pretty much develop on any type of language on the Windows system." The source summed up: "(Common Language Runtime) increases the openness of Windows...It's a universal engine to run
    (different) languages."


    A universal language translator????


    or :


    Sources said Microsoft's initial plans also include offering a technology called Common Language Runtime, a universal engine that will allow software developers to use many types of programming languages to write Windows applications.



    So it's a language so you can use any language - a compiler compiler?? HUH???

  327. Re:C# != Db IT'S B-FLAT by quark2universe · · Score: 1

    Think it through SLOWLY. On the musical staff, B comes BEFORE C going up, therefore B is BELOW C. D comes AFTER C, therefore a half step up from C (C# or C-sharp) is the same as a half step down from D (Db or D-flat)

    --

    Believe in things of which no person has ever learned
  328. Alternate Interpretations by RingTailedLemur · · Score: 1

    All these music references...and here I was thinking they were selling a Visual aid.

    --
    -- V was its Victim who cried out "But why?" --
  329. Re:Embrace & Extend Again by joerg · · Score: 1
    It is worse.

    I agree in that there is one aspect in common, that has to be critisized:

    Both they monopolize the definition and standardization of the language and the libraries.

    But there are some important differences in how they do it.

    Sun tries to evolve Java in a rather open, transparent and honest way. As far as we know SUn did not integrate any secret features or backdoors in java, that would give Sun competitive advantages against any other companies using java. Microsoft always does with its technoloogies, and i expect them to do with "c#" too.

    This counts particularly, when it comes to security issues.

    Next there is the high quality of the lagugage design. Compared to C++, it really seems to solve some problems that were notorious in C++. (I dont know any oo-languages other than Java and C++, maybe smalltalk or objective C are much better than Java, but Java is clearly better than C++). In contrast, Programming standards that Microsoft delivered yet were mostly crap (MFC, WINAPI, OLE, ActiveX...).

    Sure, in some way Sun also does an "embrace and extend" approach. But they do it in a way that is much more acceptable. If they had a mionopolistic status like MS has now, i wouldnt trust their product the way i do now. In general i dislike their proprietary approach to the java language, and i hope that they someday will be forced to transfer maintainership to some kind of independent authority (or an industry gremium like the OMG).But even if sun is bad, MS is yet much worse.

  330. Does this bother anyone else? by Carthain · · Score: 1
    The features include better security and "garbage collection,"

    I dunno about you, but I'm rather cautious about the security of Microsoft's new products... If they can release a new OS with over 64K of known bugs, I don't want to think about the possible problems with a new programming language. *shudder*

  331. It Won't Work.. by gillbates · · Score: 1
    the way Microsoft claims it will:
    "It provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide." The new language will offer features available in Java but not available in C or C++. The features include better security and "garbage collection," which tidies up computer memory used in a software program, Microsoft executives said.

    Does anyone really think that programs written in a language which allows (and will probably require, for speed reasons) direct access to the hardware will be portable? Who expects, in all honesty, Microsoft to port C# to its competitor's platforms? And what does "language independence" mean? Does Microsoft mean to tell us that if we accept their C# as our new development standard, that we won't be dependent on the whims of Microsoft for providing support for the language?

    A language that extends the features of other languages cannot claim language independence, because, as MS puts it "The new language will offer features available in Java but not available in C or C++." So if we develop with C#, we will be forever tied to MS to provide us with compilers because it has features that aren't available in other languages. So much for language independence.

    --
    The society for a thought-free internet welcomes you.
  332. And of course it breaks Unix makefiles and scripts by devphil · · Score: 2

    Whaddya wanna bet that if they create any *nix-based tools (hey, they tried to make IE run under Solaris) to increase their dominance, they'll embed the '#' character into a filename somewhere. And then all the tools that we love to work with won't work, because the "comment character" will break the line too early.

    Then they can require that their own nasty-ass build tools be used for developing D-flat. :-)

    (Note to standard /. reader: I'M JOKING.)

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  333. Lawsuit expected by DonkPunch · · Score: 2

    A lawsuit from the makers of Db (D flat) is expected. The lawsuit charges that C# and Db are, in fact, the same language.

    --

    Save the whales. Feed the hungry. Free the mallocs.
  334. Re:Another M$ ploy to co-opt an existing technolog by Rombuu · · Score: 1

    By your so called "logic" every new language potentially "decreases overall public utility", since it reduces the number of people writing in other languages.

    Hell, lets all write in one language then, if were are going to maximize overall public utility.


    --

    DrLunch.com The site that tells you what's for lunch!
  335. Re:Embrace & Extend Again by dgph · · Score: 1
    Yet another example of worthless M$ crap, why can't we all just use XML?

    I believe XML will be the primary means of communication on this new platform (using SOAP).

    A closed mouth gathers no foot...

    Indeed ;)

  336. Re:M$ sucks fp?? by BobBilly · · Score: 1

    Are you saying i'm a bad product??


    Why win9x really sucks

  337. Re:C# != Db IT'S B-FLAT by The+Lurker+King · · Score: 1

    Doh. I stand corrected. I guess I should have looked a piano keyboard instead of a computer keyboard.

  338. Interesting Quote by Dungeon+Dweller · · Score: 1

    "The new language, expected to be called C# and pronounced "C sharp," is a hybrid of C and C++"

    That's interesting, since C++ is entirely backwards compatible with C, yet this causes the language to be a bit faulty in what it allows (generally, you like a language to have a rather tight definition of itself). C-- is C++ without the C.

    Perhaps they didn't mean it as they said it? Perhaps it is developed from, what in the opinion of the developers, is the strongest portions of both? Perhaps it filters out the redundnacies and ambiguities?

    Or perhaps they just didn't write what they meant, and meant JAVA from the start.

    --
    Eh...
  339. Wow! Where have we seen this before? by rgmoore · · Score: 4

    Let's see. We have a new product from Microsoft that:

    1. Is very similar to an established product from another company,
    2. Is available only from Microsoft,
    3. Runs only on Windows,
    4. Is offered as an alternative to the look-alike product,

    It's the whole Microsoft strategy in a bottle again. I guess that their attempts to embrace and extend Java aren't working, so now their offering their Windows-only clone instead.

    --

    There's no point in questioning authority if you aren't going to listen to the answers.

    1. Re:Wow! Where have we seen this before? by TummyX · · Score: 1

      Except for any violations that Microsoft may have made with regarding their agreement with sun (which I'm not familiar with), I don't see ANYTHING wrong in trying to make Java useful in windows. I mean they did it both ways.

      I can use Windows APIs from java (extremely useful - do it all the time), or use java from other programming languages easily.

      I mean, what's with the blind devotion to WORA concept? I mean, what's wrong with taking the nice language java is and allowing it to take advantage of the underlying platform. sure java was intended to be WORA, but why stop other people from being able to make it do *more things*.

      Like I can do this from windows scripts using microsoft java.

      var javaobject = GetObject("java:java.util.Vector");

      etc

      useful.

  340. Please. O'Reilly == MTV's Talk Request Live by Zico · · Score: 2

    Where are the Haskell, Eiffel, or Dylan books? Forget things like Plan 9, relatively common OSes the various BSDs are considered too fringe for O'Reilly. O'Reilly's books are aimed at the mainstream person who thinks it would be cool if people considered him a geek -- the kind of people who download complete kernels instead of patch them -- rather than true geeks. Oooo, another Linux book, how cutting edge! The only books they still put out are those health books they surprisingly release, which are highly targetted -- things like Losing Your Gonads to Scabies: How to Cope.

    Cheers,
    ZicoKnows@hotmail.com

    1. Re:Please. O'Reilly == MTV's Talk Request Live by Zico · · Score: 1

      Argh. That last part should have read "The only books they still put out which are highly targetted are those odd health books..."

      Cheers,
      ZicoKnows@hotmail.com, killing his own heat

  341. Re:Apparently, you don't read music. by Doomdark · · Score: 1

    Well, without frets it is possible to produce frequencies that are not exactly 'right', ie. Db can be played higher than C# (offset from mathematical value by few hertzes). So, in a way, even though one could claim that'd be out of key, it might actually sound better (or at least feel better, who knows). ... but what do I know, not being a 'real' musician... that's just how my music teacher explained it to me years ago.

    --
    I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
  342. OS independence and language independence? by daninja · · Score: 1
    MS (and everyone else actually) cannot bastardize (er, I mean optimize) Java to allow Windoze specific Java code (or they'll get sued for it). They cannot change the JVM specs (e.g. add bytecodes) and still call it Java. I'll bet they can (legally speaking) create a "OS independent and language independent" superset of the JVM as long as they don't call it a Java VM. If this thing is technologically good (or even if it's not), and they produce these for many platforms, they may have the clout to displace the JVMs as the de facto VM for these platforms. My theory is that the C-pound languge is merely an excuse to get heavily into the VM business.

    The marketing line is simple: you can have a JVM, which only runs Java (and a few fringy languages, like Pizza), or you have this super-duper VM that runs Java and a whole lot more. Difficult for a naive person to argue with.

    The defacto VM is currently JVM, and Sun owns it. MS is starting to realize the strategic importance of this, and this is their attempt to steal it away from Sun. It's not an anwer to Java, it is an answer to JVM.

  343. Re:C# != Db by Tower · · Score: 1

    Um, you need to learn some solid music theory...

    As a trombone player (as well as several others), I can tell you that C# != Db in all cases, but it does in some...

    Compare the following chords:
    A (A-C#-E)
    Db (Db-F-Ab)

    C# != Db. The frequencies will be a little different, in order for the chord to sound in tune. This is why the third of the chord always sounds just a little off on a piano that is properly tuned.

    However C# does euqal Db for any arbitrary note, that isn't part of a scale/chord... of course, that doesn't mean anything anyway...

    --
    "It's tough to be bilingual when you get hit in the head."
  344. Re:Too many languages already (LONG) by SlipJig · · Score: 1
    I think a big reason that many people are switching, and have switched to Java is that Java blows VB out of the water on features - especially features critical for large, serious projects. By this I mean its superior error-handling, inheritance, documentation support, garbage collection, etc. etc. Raw speed is less of an issue for big apps than the maintainability and stability of the code, which is why people with real needs use a language that isn't a toy.

    I think the only hope Microsoft has of getting back in the game is to starting supporting those features - I don't think they can compete on price, since free competition is available, and their large "mindshare" advantage is eroding rapidly. So VB 7, when (if) it comes out, is supposed to offer all the whiz-bang stuff Java has; in fact if you read the feature list, it looks like it was taken directly from Java. But it'll be years behind, and probably buggy until the third release.

    So to fill the void MS announces C#... the only problem is that I don't see any features in C# that aren't already in Java, other than possibly "language independence". I suppose this means you can compile C# objects from source code in other languages, sort of how you can do ActiveX objects now (!) Big deal - you can already use other languages to create compiled Java classes, and that's not necessarily a good thing anyway, depending on how good/well-supported the other features of the other language are.

    All in all, there's nothing in the C# announcement that would make me switch from Java, or even from VB 7 when it comes out (I'm a SCJP, but use VB for clients all the time).

    --
    Read my keyboard review.
  345. Re:Apparently, you don't read music. by Bwana · · Score: 1

    Why was this moderated to "Offtopic" when it was about the only accurate post concerning C#?

    "Electric Relaxation" - ATCQ
    - Bwana

    --

    "Electric Relaxation" - ATCQ
    - Bwana
  346. 2 cents of mine, to you. by Tiger+Smile · · Score: 1


    M$ has pushed extremely far. I have to think that they have outdone IBM in the lock-you-in marketting world. In IBM's prime, M$ claimed to free you from them. Now they have become IBM. Sure IBM was on the cutting edge. Sure they did some great things. Some of the things IBM and M$ are doing just didn't turn out to be something people wanted, or maybe people don't like being pushed around. In any case some of their products we start to primarily exist to lock the customer in, and have little value other than marketting hype.

    I think that this is the case with this current language. It exists only to lock you in, and for no other reason. If you buy the hype you'll buy the products and get stuck.

    I see it as I see VB, just one more language which will be remembered along with RPG, but time will tell.

    -- James Dornan AKA TigerSmile

    --
    -- Prepared at the direction of, or to be sent to Legal Counsel, in anticipation of litigation. Attorney Client Pri
  347. Learn Java before you criticize it by TWR · · Score: 1

    You're an idiot.

    If you are worried about a resource in Java not being returned due to an exception, use finally. Observe:

    SomeResource foo = null;
    try {
    foo = ResourceManager.getSomeResource();
    foo.doStuff();
    } catch(AwfulException e) {
    System.out.println("Oh, no!");
    throw e;
    } finally {
    if(foo != null) {
    foo.close();
    }
    }

    The finally is executed no matter what. If there's a return statement in the try or catch, the finally is still executed.

    Now go make up another reason for not liking Java. When you can't find a job in 5 years (like the VAX Admin I met a few years ago who never deigned to learn another OS), I'll be the one laughing at you.

    -jon

    --

    Remember Amalek.

    1. Re:Learn Java before you criticize it by RelliK · · Score: 1

      Great points, a42. I too feel the same way. Java has its place and purpose but there is simply no way in hell it will replace C++. Much less in 5 years, as the troll above suggested. There are some things I like about Java (such as pure-OO, garbage collection, built-in support for exceptions and threads, extensive library, etc.) and some things I dislike (such as lack of MI, garbage collection (again), bloat, and speed (or lack thereof), etc.)

      Oh, and speaking of garbage collection, I do believe it can be very useful if done right. It's just that the way it's implemented in Java totally blows. I think explicit delete statement is a must (you already gave a great example why). Garbage collection should augment, but not impede manual memory management. (i.e. it's nice to have the VM delete stuff for me if I *forget* to delete something, but the ability to explicitly delete stuff is a must, IMHO). Also, all things considered, smart pointers are better than the fancy memory-sweeping GC. Sure they don't work for circular linked lists and such, but 1) How often do you have to deal with those? 2) If you are writing a class that implements a circular linked list or a graph or whatever, you'd better know what you're doing! On the plus side, smart pointers have almost no overhead and are very easy to implement.
      ___

      --
      ___
      If you think big enough, you'll never have to do it.
    2. Re:Learn Java before you criticize it by TWR · · Score: 1
      Why? Because I disagree with you? Because I'm not a java-loving sycophant? If those are the only criteria for idiot-hood then sign me up now. My being an idiot must be the reason that I have to turn down job offers all the time. Must also be why I consistently deliver, on time and free of serious bugs, high quality C++ code.

      No, you're an idiot because you are mouthing off with an opinion on a subject you are clearly not qualified to evaluate. I don't care how good your C++ is. You are talking about Java. You don't know Java well enough to know basic tips of the trade, and you think your opinion is valid. That makes you an idiot in my book.

      You're not seriously suggesting that it is better for the caller/consumer to clean up after an object than for an object to clean up after itself, are you? Hell, while we're at it, why don't we get rid of constructors and just initialize objects that way too? And who needs those pesky methods? Just unroll all the code and let the caller do it all!!!

      If you want your resources to automatically return themselves, wrap them in Java classes which return themselves during finalize(). I've been doing that with JDBC Connection objects for two years. Works like a charm.

      If you want resources that are returned when a exceptional event occurs, take advantage of exception handling. I don't see what's so hard about this, and I don't see what a destructor would add.

      Funny, I learned it well enough to bill for it. Well enough, in fact, to write better code than the Java team that came before me wrote. Well enough to clean up their crap and write something better in less time.

      Gee, being able to bill for Java work (or any programming work) doesn't take actual programmng ability, just the ability to convince a PHB that you know what you're doing. I've fired contractors who claimed to be Java experts when talking to a clueless manager, but turned out to be useless.

      No need, Sun has done a good enough job for me. I won't even pick on the speed/bloat issues -- those are too easy. So how about lack of multiple inheritance? (No, inheriting multiple interfaces doesn't qualify as multiple inheritance.) Or do you buy into the Sun party line that MI is "too confusing" for developers to use?

      I'm no longer wasting my time trying to convince people that Java is a vastly better language for development than C++. I pretty much count on the marketplace to teach people that lesson. In the meantime, my skillset becomes more valuable when there are more nitwits like you who think that because they've spent their whole lives using a rock to bang nails into wood, it must be a better tool than a hammer. Java is not a perfect language, but it's got most of the right features to get the jobs that I do (and from the looks of it, the jobs that most people do) done faster with fewer bugs.

      Do you honestly believe that Java is going to kill C++? Sun can say that all they want -- has been for over 4 years now -- but that just won't make it so.

      Yeah, I do think that C++ is on the way out for a variety of reasons, including Java. If you can't see the handwriting on the wall, it's your own damn fault.

      -jon

      --

      Remember Amalek.

  348. Idiots - It's obviously called CHASH by Moderation+abuser · · Score: 2

    # is a hash - what MS make of everything.

    So it's CHASH, pronounced "ch-ash".

    --
    Government of the people, by corporate executives, for corporate profits.
  349. Re:C# != Db - still OT by rotor · · Score: 1

    Well, you are right in that they aren't the same thing. However, the poster said that they are enharmonic equivalents , which they are.

    --
    Addlepated - punk & metal
  350. You Can't Have It Both Ways by Crutcher · · Score: 1

    I love this bit, check it out:

    A) It's a platform-agnostic method of building these rapidly distributed applications."

    and then,

    B) Goodhew added that C# allows "developers (to) access any hardware and software." C# provides "complete access to (the) underlying platform."

    REALLY? Wow, C# simultaneously CAN and CANNOT see the implementation details of the hardware upon which it is running. I'm impressed.

    Next, I suppose, is Microsoft's new DWIM compiler, which only supports one instruction.


    -- Crutcher --

    --

    -- Crutcher --
    #include <disclaimer.h>
  351. writing to stdout by dkh2 · · Score: 2
    I can see it now... It makes it sooo easy to share all of your most confidential information with everybody in the whole damn world. Any thing written to stdout also pushes the entire content of your corporate intranet to a special BillLocutusGates@hotmail.com address that is really a global mailing list.

    Meanwhile, once you have posted to the list you are added to the FSCKMEINTHEA$$ mailing list (hosted by MS, or at least half of MS) that feeds your system every possible virus permutation imaginable by way of the special back door on port 666 that the C# jit compiler creates upon first execution.

    --
    My office has been taken over by iPod people.
  352. Re:Another M$ ploy to co-opt an existing technolog by Vanders · · Score: 1

    It would look great on your CV

    Several years first hand experience with GANJA

  353. Re:And of course it breaks Unix makefiles and scri by gavinhall · · Score: 1

    Posted by 11223:

    Actually, IE runs quite well on Solaris, contrary to popular opinion. Have you ever tried it?

  354. Re:Another M$ ploy to co-opt an existing technolog by Rombuu · · Score: 1

    But there is no reason to have languages which are designed for the sole purpose of stopping other emerging standards.

    Lets see.. Java -- Controlled by one company. Never submitted to standards comittee.

    C# -- Controlled by one company. Never submitted to standards comittee.

    Oh, yes, now I see why you object. Because its MS doing it, therefore it must be evil.

    --

    DrLunch.com The site that tells you what's for lunch!
  355. Cool? by wass · · Score: 1

    Whatever happened to that cool langauge they were supposed to have written, which would be as good or better as java?

    --

    make world, not war

    1. Re:Cool? by sklib · · Score: 1

      Incidentally, that's how the first C++ compilers worked -- they'd translate it into C first.

      --
      -S
  356. Re:C# != Db by Golias · · Score: 2
    which is why "middle A", the second fret on a guitar, is often called "A 440

    Urk... I knew I would not be able to post something that long without an error...

    A 440 is the open position of the second string of a guitar using standard tuning.

    I sure hope nobody broke their Low-E string by tuning it up to G based on what I said. :(

    (Sorry if this whole thread seems off-topic, but it was M$'s idea to name a program language after a note that's really hard to play in tune on brass instruments, not mine.)

    --

    Information wants to be anthropomorphized.

  357. COOL by Benjamin+Shniper · · Score: 4

    I had heard they were coming out with a C++ based language called "COOL". It sounded very similar to this newer speculation about "C#".

    There are a couple of problems with Microsoft coming out with a cross-platform language and expecting everyone to use it instead of it's competitors (C,C++, and Java are all reasonably well supported across most platforms.)

    1. Microsoft isn't well known for good cross-platform support. Their new SOAP XML standards are a good start. However, the technologies VB, COM, and MFC extentions were quite well rememberred as terribly non-cross platform, even though they claimed COM was (and claimed NT was POSIX compliant).

    2. There is a good deal of heavily entrenched and saturated languages like Java and TCL already poised to defend their positions.

    3. Microsoft is more weak than ever in claiming "This is the future." Their future is quite uncertain now, even if they fix a deal with the Justice Department.

    -Ben

    (P.S. This sounds like a computer language made for people who played flue and programmed C before, and now want to try object modelling their computer synthesiser.)

  358. Wrong name... by Shoeboy · · Score: 3

    When I first heard about COOL, I thought it should have been renamed to Simple Unified C++ Kit
    --Shoeboy
    (former microserf)

  359. Re:M$ sucks fp?? by mparcens · · Score: 1

    Yeah, I'd say that I'm pretty happy with the VC++ programming environment. Everything else they make pales to that.

    One thing confused me.. They said that C# was not only platform independent but "language" dependent. That seems awful hard since you'll be writing c# applications in none other than c#

    _________________
    JavaScript Error: http://www.windows2000test.com/default.htm, line 91:

  360. Oh my good dear lord. by Chops · · Score: 1
    Well, given the amount of raw engineering talent, delicate aesthetic judgement, and humble consideration for the feedback of the users that are required to design even a passable programming language, we can only hope that Microsoft will have the bargain-basement good sense to keep the marketing guys the hell away from this project.

    Oh, good, it's going to support Cobol.

  361. Re:C# != Db by nachoman · · Score: 1

    You have no idea what you are talking about. I play trombone and have for 7 years. I also play bass guitar (tried fretless a few times).

    The frequency of the pitch of C# is identical to Db. That's just the way it is. Yes you have analog control over the position of your notes, but if you play a perfectly in tune not C#, you have also played a perfectly in tune Db.

    The only reason to change from this would be if your instrument was out of tune, and in that case, both C# and Db would change up or down together.

  362. VaporWare by AsbestosRush · · Score: 1

    Is it me, or does this sound like vaporware...
    To quote

    Microsoft executives declined to say when C# will be available but said the language will eventually be part of Microsoft's Visual Studio suite of software development tools.

    --
    EveryDNS. Use it. It works.
    AC's need not reply
  363. Compatibility? by BoLean · · Score: 1

    Could they pull this off by claiming 100% compatibility with existing Java code, thus allowing them to claim that you can port any application to CPound by simply recompiling? I did an Ask Slashdot on somthing similar once. I asked if you could reverse engineer an entire programming language like Vb using the same function calls and syntax but change the backend functions. Too bad it never got picked up. This may be exactly what microsoft did. We'll find out when we get the details.

  364. Re:Lies, ... its worse than that by Masked+Marauder · · Score: 1
    From the article:

    It [c#] provides operating system independence (which Java provides), but it also provides language independence, which Java can't provide."

    WTF is a language independent language?

  365. Java competitor? by Darth_brooks · · Score: 1

    "Microsoft executives say the language is not a Java competitor."

    I didn't know they knew what competition meant. I was under the impression Microsoft's marketing strategy was to type "iddqd" and hope for the best.

    --
    There are some people that if they don't know, you can't tell 'em.
  366. FYI: What's next for next major version of Java... by ChrisRijk · · Score: 3

    Since I came across it earlier today, I thought I might as well post it - J2SE 1.4 "Merlin" public review at the "Java Community Process". It's 59 pages long, though that's mostly because it is quite detailed. If you want to influence the direction of future Java development... now's the time - they do want response to this...

  367. it's really called an octothorpe anyway... by rangek · · Score: 1

    If forget where I first heard it (#) called an octothorpe, but it seems a much more satisfying and mysterious name than the bland "hash", "pound", and "sharp". Although, if if call # a sharp, you get to call #! shebang, and that it cool too...

    Just so you don't think I am crazy and making up this octothorpe business...http://mathworld.wolfram.com/Octothorp e.html

  368. The @ sign... by Richard+Steiner · · Score: 1

    Silly person. "@" is a UNIVAC Master Space character. :-)
    --
    -Rich (OS/2, Linux, BeOS, Mac, NT, Win95, Solaris, FreeBSD, and OS2200 user in Bloomington MN)

    --
    Mainframe/UNIX Bit Twiddler and long time Windows/Linux Hobbyist.
    The Theorem Theorem: If If, Then Then.
  369. Re:Blackbird = MSN by Octopus · · Score: 1

    I believe the original codename for the MSN project was Blackbird, when they were developing a proprietary network w/ client browser, it was all referred to as Blackbird I think. I think, therefore I'm not sure. -- octo

  370. New language info has been on their site 4 a while by Zico · · Score: 2

    Microsoft's had info on a new language for a while, now -- something called Vault, although I don't think it's the same thing as the one that c|net is talking about. I haven't looked at either Vault or C# in any kind of detail yet, so I won't swear to it.

    You might want to check out this link (http://www.research.microsoft.com/projects/Vault/ ) at the Microsoft Research site if you're interested in a little (and I mean little) more information about it than I can give you.

    Cheers,
    ZicoKnows@hotmail.com

  371. Re:I can see the derogatory phrases already... by hank · · Score: 1

    Me too...

    C:
    ENTER:
    ###

    I guess we read different books as kids...;)

  372. Typical Microsoft! by / · · Score: 2

    As we all know, Csharp has 7 accidentals, whereas D flat only has five. If they'd named it Dflat, then they'd have saved an entire 2 accidentals, greatly reducing the amount of work necessary for implementation and otherwise vastly improving safety for all concerned. But no, they foreswore all concern for users and had to go with the marketing angle. Curses be upon them!

    --
    "If one is really a superior person, the fact is likely to leak out without too much assistance" -- John Andrew Holmes
  373. Re:Embrace & Extend Again by warmi · · Score: 1

    Java clearly better than C++.
    For you perhaps, but not for many others.

  374. Mark and Sweep vs. Copying by Tom7 · · Score: 1


    Mark and sweep should collect exactly the same garbage as Copying, so I don't understand your comment that begins with "As the amount of memory used by a program increases..."

    Mark and sweep is always linear in the amount of memory ever allocated, since it needs to explicitly free. Copying is linear in the amount of memory currently being used (though its constant is typically higher than that of mark-n-sweep).

    I may have misspoken in regards to it being the most common; it is in the area I work in but perhaps not in others.

    Two reasons why copying is nice:

    - Better asymptotic performance (argument above)
    - Copying gives the ability to compact your heap, which can give a nice speed-up due to cache issues and reduce VM fragmentation.

    In practice, we like to use generational copying garbage collection since as you correctly point out, big heaps are slow.

  375. One problem by / · · Score: 1

    Microsoft is proving to be an obstinately indivisible quantity. Just ask Judge Jackson and the DOJ -- and they're professionals.

    Instead, I propose: "What a pile of Microsoft"

    --
    "If one is really a superior person, the fact is likely to leak out without too much assistance" -- John Andrew Holmes
  376. Re:Join me by Shoeboy · · Score: 2

    Allrighty Smoking Joe, we'll find signal 11, lure him into my lair truss him up and convert him to the donk side.
    His karma will not protect him from my vicious crew of vampire lesbian NASCAR drivers. (they wear asbestos undergarments in case of fire!)
    Portman pics are here. When I say badly faked, I mean fat chicks who look nothing like NP and don't pretend to.

    --Shoeboy
    (former microserf)

  377. Worse is *not* better by extrasolar · · Score: 2

    Why do we need yet another C-like language. Why couldn't they be the least bit inventive something similar to scheme, haskell, or eiffel. But no. We must catter to all of the java, c and c++ programmers out there, many whom don't know that there are other, perhaps superior, things out there.

    Please, someone start a movement to make functional languages more widespread! If one has already begun, let me know!

  378. Multiplatform by bmajik · · Score: 1

    If you were/are in attendence at Forum 2k today, you might have seen their pretty slick Web Services dev tools...

    it all uses SOAP for object/server interoperability.. and that protocol basically just moves XML around.. the keynote specifically said you can code these services with any language and you can serve content and do ASP hosting on any platform.. they specifically mentioned UNIX...

    In order to do what MS wants to do w.r.t. to NGWS they're making it possible for anything to play ball with their stuff... as usual, they plan on differentiating based on ease of use and developer support

    --
    My opinions are my own, and do not necessarily represent those of my employer.
    1. Re:Multiplatform by jason_poley · · Score: 1

      well micro$oft can make all the languages they want, if they don't do native support for all major unix versions & linux how can they ever compare it to java? it will push new features into java, but not really become a threat at all because i don't think micro$oft will go cross-platform. the world does not need more windows based tools or languages...

  379. I'd rather program in Brainfuck. by HiyaPower · · Score: 1

    At least its an honest programing langage with an honest background....

  380. Isn't that name taken? by whitroth · · Score: 1

    Years back, in Dr. Dobbs', Ciardi(?) had a series about a toolkit he called (and it was copyrightten) as D-Flat, and I b'lieve he mentioned it was that, since C Sharp was taken.

    Oh, Micro$oft.....

    mark

  381. Well, it's another option by revscat · · Score: 1

    Y'know, for all the MS bashing that goes on here and elsewhere, it's stuff like this that at least makes the market lumber forward. Sun, I am sure, is at least remotely concerned at the prospect of this biting into the Java market. Sun will therefore add some new bells & whistles, about 10% of which will actually be useful. MS will respond similarly. Rinse, lather, repeat. Yes, MS sometimes puts out shoddy product. But they also are a huge motivator for everyone to kick ass, lest the huge beast from Redmon trample them. Or better yet, devour them in a buyout.

    - Rev.
  382. Or... you can pronounce it "Cee Thud" by circuit · · Score: 1

    Thanks to Dictionary Com for this insight.

    Page down until you find the def of Hash as the character # .

  383. Dang it! by DonkPunch · · Score: 1

    All right, Slashdot has too many trigger-happy posters. The same lame gag, at least three times in one thread....

    --

    Save the whales. Feed the hungry. Free the mallocs.
  384. great by KarmaHo · · Score: 1

    Just what we needed, another variation of C. C, C++, Objective C, and I'm sure there's many more. We just can't get enough of these things now can we. This one probably even comes with MS proprietary extensions, how usefull!

  385. Re:Too Little, Too Late by Izaak · · Score: 2
    This is old news Ohio-boy. The coasts have already dumped their Java middle-ware because it doesn't scale (DUH!) and are going back to Apache, mod_perl, PHP, MySQL and the like.

    Uhm, remind me again why I would want to use web specific technology for MIDDLEWARE development. You know, making multiple flavors of big iron talk to each other. Abstracting away various legacy databases behind a single object model. That kind of crap. I fail to see how Apache and such would help me with that.

    Oh, and it is Wisconsin-boy to you, and smile when you say that. :-)

    Thad (I think I was just trolled)

  386. Bx? (B doublesharp) by kipling · · Score: 1

    how about B-doublesharp? (another enharmonic equivalent to Csharp, in well-tempered tuning)

    --
    -- open source? sounds like the real book --
  387. YM catgets() by yerricde · · Score: 2

    Many versions of libc already provide "get string by string-id" and call it catgets().

    --
    Will I retire or break 10K?
  388. Re:Another M$ ploy to co-opt an existing technolog by warmi · · Score: 2

    OpenSource seem to be bend on rewritting everything under the sun.
    And you people keep laughing at MS for not being innovative ?

  389. The Real Reasons for Producing C# by Poligraf · · Score: 1

    1) A couple of years ago I've seen a very interesting quote: "The biggest choice for companies in the next 5 years will be the choice of the component model". As of now, about 2/3 of the Fortune 1000 companies have chosen CORBA. SUN's decision to pretty much abandon their own model (Remote Invocation) for CORBA plays to the strength of this argument.
    COM+ will be one of the strings attached with the new language; Necro$oft will try to increase the chances of using their distributed architecture.

    2) Java phenomenon has spawned a huge amount of development tools from both established players like Borland, IBM & Symantec and start-ups. I'd say that there is more investment in new cross-platform Java tools than in new Windows-only tools. IMHO, the success of Microsoft environments is closely linked to the excellent development tools tied to the platform.
    Microsoft wants to stop the erosion and regain the developer's hearts ;-)

    --
    Tigers respect lions, elephants and hippos. Maggots respect no one. (C) S. Dovlatov
  390. C# != Db? Depends on your tuning by gwalla · · Score: 4
    c sharp is not the same thing as d flat. ask someone who plays a fretless string instrument.

    That's right, because fretless string players don't play exactly in equal temperament. In equal tempered tuning, which almost all Western instruments are in, C sharp is the same tone as d flat. In just intonation, however, they are subtly different.

    Quick primer on tunings, because it's not common knowledge (it is pretty offtopic, but germane to this thread): our old pal Pythagoras discovered that pitch is directly related to the length of the vibrating body (a string, an air column, etc.), and that the simplest ratios of the lengths of two strings are consonant. The most consonant ratio is 2:1 (an octave), followed by 3:2 (a perfect fifth), etc.

    To get a scale, start at any pitch and find the next note one perfect fifth up, then the next, and so on until you reach an octave equivalent of your first note, which is your key. Find the octave equivalents of all of those notes and and you've got your scale. This is called just intonation. The only problem is that you're stuck in one key on that instrument, because the octave equivalent isn't exactly an octave equivalent.

    To get around this, various methods have been created. The one that caught on was equal temperament (although well temperament was popular in the baroque era--hence the title of "The Well-Tempered Clavier"), in which the intervals between consecutive pitches are equalized, and certain close pitches are made equal (E# F, C# Db, etc.). In essence, every note in an equal tempered scale is a wrong note! They're just close enough that it's not particularly jarring.


    ---
    Zardoz has spoken!
    --
    Oper on the Nightstar
  391. Here's a thought by BluedemonX · · Score: 1

    We come out with a version of C#, Cocktothorpe, Chash, whatever. Open source, multiple operating systems, cross platform support, faster, better, quicker, etc but OOP! It has some "incompatibilities" with Micro$of+ Csh.

    Turnabout's fair play - why don't we embrace, extend, extinguish?

    We can call it !C#

    --

    --- Jump!! Fire!! Bullet time!! - Lego version of the Matrix
    1. Re:Here's a thought by BluedemonX · · Score: 1

      That would lead to

      g!c# (GnuNotCSharp)

      Eventually a newer version will have to come out...

      !C#++
      whose GNU implementation would be g!c#++

      Oh man, I can see it now

      g!c#++ main.!c#++ main.!h#++

      --

      --- Jump!! Fire!! Bullet time!! - Lego version of the Matrix
  392. Re:Embrace & Extend Again by Blue+Lang · · Score: 2

    Insistence over control of the language!@?!?!?

    Yes!@?!?!?

    Didn't they invent the language?

    I don't know.. is derivation, invention? In the case of Sun, they promised a cross-platform language suitable for open development. However, as long as they control the standard of the language, or, as long as no outside standards body has say in the mores and means of the language, it is not open - it can be revoked or changed at any time, there is no truly open peer review process for decisions regarding features and etc. Contrast this to C or C++, both of which are controlled by the American National Standards Institute - things don't just mysteriously HAPPEN to C and C++, they are deliberated and discussed, and everyone has a say in what goes on. There will never be a change in C or C++ that initiated in a marketing meeting.

    In a different way, but equally valid, is the model of perl, in which changes to the language are loudly and long-windedly discussed, but to which additional extension via the CPAN facility is the norm. There is no 'standard' for changes to perl, but its growth is controlled and nurtured by users to the benefit, mostly, of users. I feel pretty confident in saying that perl, also, is not likely to be steered by corporate mandate.

    M$ is promising the same paradigm as Sun for their new language. Those who know Sun know that they are no no less harsh a mistress than M$ within their own arena. I do not like their control, and I do not use their language. A language is not, or should not be a product - it is a tool. Does someone control the design and use of a hammer, pliers or saws?

    I do understand that Sun's development model for Java is more open than I've made it sound to be. I don't believe for a second that M$'s will be. If they want to make a closed, controlled language for use by people who pay for it, great, but don't go telling me how open it is, and how cross-platform it's going to be.

    HTH!

    --
    long-winded blue

    --
    i browse at -1 because they're funnier than you are.
  393. #define by Augusto · · Score: 1

    I see a lot of people confused about the use of "pound" for #.

    I don't know about you, but most people I've talked to (proffesionally , at school , conferences, etc) read the C statement

    #define

    as "pound define" .

    I'm not saying that's the only way to pronounce it, I'm not saying everybody should, I'm just saying that for the target audience of this language C/C++/maybe Java programmers, many if not most are used to pronnounce it that way in a programming context not the musical one.

    Please, don't take it so seriously !! Geez !!! :)

    --

    - sigs are for wimps.
  394. Re: Borg Humor by 0x0000 · · Score: 1
    When it gets released, give it a try before you knock it. I think most people will be pleasantly surprised.
    LOL! Yeah right! How? M$ is going to make it run on Solaris or Linux?

    I got several good laughs from the article, too:

    It [C#] provides operating system independence
    From M$!? That'll be the day. M$ couldn't produce platform independant software if their sales depended on it; they just don't have the skillz.
    ...it also provides language independence...
    Cool, a language with no syntax.
    But he said C# "helps with the vision of Web services. It's a platform-agnostic method of building these rapidly distributed applications."

    Goodhew added that C# allows "developers (to) access any hardware and software." C# provides "complete access to (the) underlying platform."

    Uh-huh. So this "platform independant", "platform agnostic" new language will allow me to write X apps for Linux? What's that? It only runs on Windoze boxes? That's what I thought. It's platform independant/agnostic how, exactly?

    M$ is just trying to spin this to minimize publics awareness of the anti-trust conviction.

    Get a Linux box!

    --
    "The Internet is made of cats."
  395. WHAT A PIECE OF SHEET! by Nick+Mitchell · · Score: 1

    :)

  396. Re:Another M$ ploy to co-opt an existing technolog by Blake · · Score: 1

    And yet another voice adds to the babble.

    TANJ. TANJ Ain't No Java.

    Later,
    Blake.

  397. I can see the derogatory phrases already... by MAXOMENOS · · Score: 2

    The problem with any Microsoft marketing is that you're bound to create a really wicked parody right out of the gate. Microsoft COOL led almost immediately to Microsoft CRUD (Corrupt Redundant Useless Development) and Microsoft SUCKs (Simple Unified C++ Kits); the parodies for C# are a little harder to come but still suggestive.....

    • Cb (C-flat)
    • C-pound (for what you want to do to the idiots who developed this)
    • C-hash (for what MS made of this tool)
    • C-compiler-directive
    • C-not-equals (in some languages # is similar to !=)
    • C! (C...not!)
    • VB++
    • C--
    • Java--
    • etc....

    Any others anyone can think of?


    The Second Amendment Sisters

    1. Re:I can see the derogatory phrases already... by cmonster · · Score: 1

      how about !c or not-c or nazi?

    2. Re:I can see the derogatory phrases already... by AnarchySoftware · · Score: 1


      Reminds me of a book I read in first grade:

      C#
      C# run.
      Run # run!

  398. oh goody by ^chuck^ · · Score: 1

    more useless crap that the struggling developer has no want nor need to learn...
    Oh well, at least we can take some solace in the fact that it will never be called C Sharp, but reduced to the silly sounding C Pound/number symbol. Anyways, you script kiddies have fun with your new toy, im gonna stick to my C and Java [,and tcl/tk, and assembler, and scheme, and ... yawn, snore]

    --

    Lemure, wtf! Don't you mean Lemur?
  399. C# (C-Sharp) = Db (D-Flat) by tpritaw · · Score: 1

    So I guess if M$ gets broken up, M$ Office, Inc. will support VB and M$ Windows, Inc. will support Db (Oops! I mean C#.).

  400. Do We Need It? by suwalski · · Score: 1

    Does the World actually need yet another language? We've got enough as it is.

  401. Too Little, Too Late by Izaak · · Score: 2
    Java has to much momentum to be supplanted by this Java'ish MS mutant. I am seeing huge demand for Java programmers even here in the midwest (which usually lags the coasts in addopting technology). Supprisingly, java has found a very strong niche in the middleware arena. I don't see Microsoft penetrating into that market unless they loosen up on the whole Windows Only mindset.

    Just my $.02

    Thad

  402. Correct pronunciation of "c#" by pongo000 · · Score: 1

    That should be "c-pound," as in code by the pound.

  403. Like C, but like java? by seanson22 · · Score: 1

    As in C with object oriented programming? Does this sound a little like C++? Or maybe they mean just the applet side, which is Java's smallest use. Or maybe they mean like Javascript, in which case they're treading on their own VBscript. I think MS is just trying to wrest control of the internet from anyone or anything not owned and/or run by them.

  404. Broken comment -- confused, with several questions by babbage · · Score: 2
    Something's really funny here, I keep trying to submit this comment and Slashdot won't let me. Tried a different strategy and it posted anonymously. Odd. Hopefully it'll go though as me this time...

    I've got several questions about this new language of theirs, and I'd like to hear what the Slashdot audience might ahve to say about them. Any takers?



  405. I am the Gary Graham of Slashdot! by DonkPunch · · Score: 1

    My lawyer was asleep when I was moderated down! I'm a clean-cut upstanding slash-citizen. I don't deserve this. Someone else posted that troll. I have witnesses who can prove it! Tell Amnesty International! Tell Danny Glover!

    The blood of my karma is on your hands, Mr. Moderator. I hope you sleep well tonight.

    --

    Save the whales. Feed the hungry. Free the mallocs.
  406. Re:Embrace & Extend Again by drakee · · Score: 1

    The difference is that Java was not created as a direct response to C++, in an effort to compete with the language. It embraces many of the same concepts, but it is a whole new language in its own right. I wouldn't use Java to write a 3D shooter, and I certainly wouldn't want to use C++ to rapidly develop distributed, enterprise web-based applications. C# seems much like M$'s response to Mozilla- just a silly clone.

  407. Re:M$ sucks fp?? by Doctor+Memory · · Score: 1

    They have a message passing system called SOAP ...

    It's actually an open standard put out by W3C. Check it out here

    --
    Just junk food for thought...
  408. Universities will teach it. by VT_hawkeye · · Score: 1

    That's MS's ace in the hole. No matter how bad it is (at least once it passes the only-crashes-once-an-hour-or-so baseline), they'll be able to browbeat/bribe universities into teaching C#.

    MS has "nonrestrictive" contracts with all kinds of university CS departments (including my own at Virginia Tech) to use their software in teaching. At VT, it's "encouraged" in 1000-level CS classes to use Visual C++; it's really dependent on the professor as to how much of a fight you have to put up to use Linux/UNIX-based utils. As you proceed up the levels of classes, the MS evangelism isn't quite as obvious (i.e. teaching the VC++ IDE in class, as is done in the first-semester freshman Programming in C course), but it's still there.

    If MS puts it out there, some university CS departments will get a few hundred G's tossed at them, and then C# will become a teaching language there. Enough of these, and enough researchers at such universities detailed onto C#-centric research, and C# will become mainstream, cross-platform utility or no, proprietary or no.

  409. Re:Apparently, you don't read music. by TheGreek · · Score: 2
    Heh. I'm a jazz pianist, so I have a definite bias towards Db as opposed to C#. See, pianists (and most horn players) like flats. Flats are nice. We enjoy them.

    Keys like F, Bb, Eb, Ab, and, to a limited extent, C make us happy. Keys like G, D, A, E, and B give guitarists orgasms but really piss us--or at least me--off.

    It's mostly a mental thing. I have to play this piece in E for a friend's wedding, and it took me a while to get used to hearing things in that key, because most jazz charts are in flat-friendly keys. Yes, friends, a LARGE part of playing music is hearing what you're playing inside your head.

  410. Here's how it works: by spongman · · Score: 1
    (disclaimer: i worked at microsoft from 1993 to 1998 and was a member of the VJ1, 1.1 & 6.0 teams, so although the content of this message may be somewhat factual, it's probably not of any interest to you (for exactly that reason). please stop reading now. goodbye.)

    Here's how it works:

    Microsoft makes money. They make lots of it. They have to, they're a business. Get over it.

    They make their money by selling Office (mostly) - and Office runs on Windows (mostly).

    They like people to write programs for Windows (and Office, mostly) because that means Microsoft doesn't have to write all the programs (yet) in order for people to want to buy Windows, and Office (mostly). They make more money, everyone's happy (mostly).

    It's called developer relations. And they're pretty good at it (mostly).

    Well, they started with Basic, and they're still at it - VB is the most widely used programming environment worldwide. And it runs on Windows and does Office and more recently it does Web & server stuff, too. More importantly it does COM, and it makes it really easy, which is key because then 3rd party developers can get in on the deal: more software, more windows, more office, more money.

    So what's the problem? Why do they need another language? Well, basically, basic sucks ass. The COM stuff is cool, and the IDE is great for rapid application development, but the language bites (although it's geting better now) and the windowing libraries are looking rather dated. The learning curve for C/C++ is too high, pascal's a good option that delphi did well but Microsoft was happy with the way that VB was going.

    Then came Java. Arguably the whole cross-platform package that Sun provided was a really good idea (mostly). There's was one problem - no Windows, no Office, no money. But java's a really nice language. Close enough to C++ (syntactically) to please the C++ crowd, easy and rich enough to please the RAD people, and designed (unwittingly) to be the perfect language to deal with COM objects. Lightbulbs went on. At least, they did for those bright enough to have them. And they went away and wrote a Java VM that not only ran java code pretty-damn-quickly (tm) but did ActiveX, J/Direct and the rest as well. This pissed off the cross-platform crowd much like the spaniards did the catholic church a while back. Anyway: McNealy, Sun, Lawsuits, history. Now java (the language) is only good for one platform: the java platform. No Windows, Office, money. Next.

    Take a bunch of smart people (possibly the same ones), the same kind of cool bytecode, JIT compiling, garbage collecting, ActiveX integrating technology, stick a language around it that you don't have to shit bricks of gold for everytime you think about how cool it would be if you could only do... HERETIC!

    On top of that put Win32, DCOM/COM+ (and therefore Office, Backoffice, 3rd party components, IE, the lot), whatever NGWS turns out to be and whatever other tricks they come up with and you've got a pretty good bed on which to conduct your sinful developer relations away from the prying eyes of the inquisition. If you like that kind of thing, that is.

    Any language will do. Java did quite nicely thank you very much. But then again, so did hand operated looms (mostly).

    Personally, I'm waiting to see the VS7 debugger...

    1. Re:Here's how it works: by Chris+Locke · · Score: 1
      Looks like spongman has been assimilated by the borg.

      The M$ mind-police have been working overtime on their employees havent they!

  411. Microsoft Virtual Machine for Java by cpeterso · · Score: 2

    That's why Microsoft does call their Java interupter a "JVM", but rather the "Microsoft Virtual Machine for Java". This implies there might be a Microsoft Virtual Machine for C# or VB or COM+/IL or ...