Shop OBEX P1 Docs P2 Docs Learn Events
C Compiler Status — Parallax Forums

C Compiler Status

pjvpjv Posts: 1,903
edited 2006-06-01 11:05 in General Discussion
Hello Ken;

I know with all the Propeller activity, the SX has taken a bit of a back seat, but with the price differential I still have uses for them. So, I was just wondering if there was a status update on the C compiler, with possibly a new ETA?

Cheers,

Peter (pjv)

Comments

  • PJMontyPJMonty Posts: 983
    edited 2006-04-18 04:39
    Peter,

    I got a new version of the compiler last week from CCS, but have not been able to do more than install it. I anticipate testing it this week and getting the results back to CCS. ETA? Not sure yet, as it depends on what I find (or don't find) in the new version.
      Thanks, PeterM
  • pjvpjv Posts: 1,903
    edited 2006-04-18 14:20
    Hi Peter;

    Thanks for the info. I hope it all works out. I'm eager to start learning C for the SX, and using it if practical.

    Cheers,

    Peter (pjv)
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-04-19 04:26
    The new compiler still has a few issues, but it is getting there.

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
  • SterlingSterling Posts: 51
    edited 2006-04-22 09:21
    Is this a compiler by Parallax or CCS?
  • RsadeikaRsadeika Posts: 3,837
    edited 2006-04-22 12:14
    It sounds like the compiler is a CCS product, Parallax's involement is to make sure that it works within the IDE, and maybe have an influence on the cost of the product. Should be interesting to see what is going to be offered for <$100.

    Ray
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-04-22 15:34
    I am looking forward to learning C with it.
    The competition wants 'four figures' and I just cannot justify that much for a study project.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • SterlingSterling Posts: 51
    edited 2006-04-22 16:25
    I thought CCS already had a compliler that works with the SX. So this is a new product that will integrate with the SX-Key software?
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2006-04-22 16:31
    From what has been discussed here...
    CCS already had a compliler for the SX, but it was both more costly and not really well adapted for the SX.

    Parallax and CCS got together and this has been evolving.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)

    ······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • PJMontyPJMonty Posts: 983
    edited 2006-04-23 15:56
    What's happening now is that CCS and Parallax are working together to make sure that the CCS compiler works as smoothly as possible with the SX-Key. Previously, CCS developed their compiler on their own. The compiler work is still all in the hands of CCS, but the cooperation of the two products is now a joint effort.
      Thanks, PeterM
  • DigitalDjDigitalDj Posts: 207
    edited 2006-04-25 22:37
    What is the difference or any between C and C#(C Sharp)?

    Thanks,

    Kevin



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • PJMontyPJMonty Posts: 983
    edited 2006-04-26 10:40
    C is an ANSI standard, C# is a Microsoft standard (although I think they may be submitting it to an international board like ANSI). C# is also part of the .NET push by Microsoft as I recall. In case you're curious, there is no support for C# in the upcoming compiler, just good old C.
      Thanks, PeterM
  • Oliver H. BaileyOliver H. Bailey Posts: 107
    edited 2006-04-29 18:49
    Hi,
    Actually Scenix commissioned the development of CCS SX C. But during the development cycle Scenix went through some changes and by the time the C compiler was finished Scenix was focused on other business issues. So the compiler was never really tested by anyone other than CCS customers. It had the same issues that would be expected from any product left in that state, it needed to be tested and debugged. CCS had a compiler that had been pretty much orphaned and Parallax had an SX that needed a C compiler. So I introduced them. I also introduced Parallax and Netburner which resulted in the PINK.
    As for C#. While the C# and .NET initiative were by Microsoft, they have been adopted to open standards in Europe. I believe the right character order is ECMU standards. Also, there is an open source version of .NET that works on Linux and FreeBSD, supported by Novell. It's called MONO and includes a free C# compiler. C# is unique to .NET and MONO and produces tokenized code that is converted to machine language at the time of execution. The goal is to make source code totally platform independent. For example, a Winform program developed in Microsoft C# can be executed on MONO for Windows or MONO for Linux without eing recompiled. There are two tradeoffs to this approach. First, the tokenized files can be fully reverse engineered into source unless encrypted. Second, .NET is still another layer on top of the many that laready exist in Windows, so it consumes processor time and memory. I hope that clears up the confusion. C# will not be coming to Embedded devices any time soon.

    Oliver
  • Robin DebreuilRobin Debreuil Posts: 1
    edited 2006-04-30 06:58
    Actually...

    I am working on a C# compiler right now - first for the SX, and then more generally for microcontrollers. Longer term I'd like to make a C# variant specially for microcontrollers (Cµ or "CMicro"). I've previously worked on a C# and IL compiler that targeted the Flash player, which in some ways is similar to targeting a microcontroller (in the sense of there being a lot of memory, speed, and environment limitations). Like Java, C# gives very rich and knowable information to gen from, but it also has a few things that make it friendlier to lower level generation (like structs and enums for example).

    Anyway, I wouldn't say this will happen 'soon' (still only about half way through the parser), but it will probably happen eventually. And yeah, C# and IL (the bytecode for C#) are both open ECMA standards and have been for some time. They are definitely Microsoft centric, but there is nothing preventing them from being used elsewhere.
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-04-30 16:16
    'C' as a language was created before object-orientation. It was created to be a pretty simple language, with some ability to compile keywords directly to machine language.

    It has evolved quite a bit since 1978, but the ANSI standard is very stable. C++ is built 'on-top-of' C, and adds 'objects' -- classes, "types-with-methods" -- to the base language.

    C# is a creation of Microsoft. I don't know much about it, except that it is also object-oriented, like C++ and Java.

    I think the drive for 'C' on the SX is mostly to have a higher-level language than assembly to program the thing in. Maybe using 'objects' would be helpful -- but certainly having a robust, ANSI-C for it would speed development a lot.
  • John R.John R. Posts: 1,376
    edited 2006-04-30 17:47
    For reference on the above language comparison:

    C# is pretty much a "C like syntax" wrapper over the "guts" of Visual Basic. There is very close to a 1 to 1 match for keywords and functionality between VB and C#. C# makes it a tad easier to move between C/C++ and C#. You can't really transfer code between the two, but it's supposed to be less stress on your mind to keep the same syntax between the full blown C/C++ and the "Rapid Application Development" environment of VB/C#. My personal opinion is mixed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John R.

    8 + 8 = 10
  • DigitalDjDigitalDj Posts: 207
    edited 2006-04-30 22:22
    My thought with C# is being able to stay within a programming language and not having to learn 2 or 3 and for people wnating to control the outside world especially if you using the processor external of the computer for various projects is whole lot less confusing. I have programmed in Visual Basic 6 which i have upgraded to Visual Studio 2005 and will probably change over to C#. It is alot better cleaner programming language and is more·widely used·now then ever. Now of coarse my problem is programming on the processor level, so if i have to learn basic or assembly for it now i have 2 or 3 languages to learn. I am in a position now where i have to make a descision because of where i want to go with my programming and go from VB6 into Studio 2005 basic or C#. The things i want to do can't be done in VB6 so that's why the change and VB 2005 has changed alot. So since i'm going to change i might as well goto C#, now i'm back at square one and having to learn 2 maybe 3 programming languages basic and assembly for the SX and C# for the computer. Oh well i still have a lifetime!

    Kevin




    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Education And Experience Teaches Knowledge Not Arrogance ! (Unknown)
    The Only Stupid Question Is The One Not Asked ! (Unknown, of coarse this is something that i would say)
    Do Not Burn The Bridge That Has Brought You Forth You May·Need To Journey Back ! (Chinese)


    Post Edited (DigitalDj) : 5/3/2006 11:44:03 PM GMT
  • Oliver H. BaileyOliver H. Bailey Posts: 107
    edited 2006-05-03 23:05
    Hi Guys,
    For those of you who may be familar with Delphi, Microsoft hired the original author of that langauge to write C#. C# is very much like Delphi with a couple of exceptions. When I say like Delphi, I don't mean Pascal but rather of a similar structure. One if the issues when developing object oriented langauges for micros, is available memory. Those jump tables can get HUGE. That's one reason why C++ has not been a big hit with embedded developers. I love object oriented langauges for one reason, they allow me to pass a coding path once! I never need to code those routines again once their in final form because I can inherit them and use that as a starting point. But I still prefer good old C or assembler when it comes to Microcontrollers or OS internals (Device Drivers) because of speed and space.

    Oliver
  • Rob v.d. bergRob v.d. berg Posts: 89
    edited 2006-05-31 11:18
    Hello,

    Is there any update information available about time schedule for delivery·SX-C compiler ?

    Regards Rob.
  • Ken GraceyKen Gracey Posts: 7,402
    edited 2006-05-31 11:36
    Rob,

    We're resolving a final integration issue with CCS right now, and the ball is in our court. Peter and I have exchanged a few messages and he's at work on the project right now. I think we're getting pretty close, finally. But software is another story - we've been "about to release" a new software tool for the USB Oscilloscope for almost a year now. Firmware we seem to be able to finish much faster at Parallax!

    Ken Gracey
    Parallax, Inc.
  • Rob v.d. bergRob v.d. berg Posts: 89
    edited 2006-05-31 18:23
    Ken,

    Thanks, your answer is very careful, we must wait still a couple of months i suppose, this year ?·

    What do you mean by firmware in·this relation?.

    regards Rob.
  • BeanBean Posts: 8,129
    edited 2006-05-31 20:59
    Rob,
    I suspect Ken means the firmware being the software that is in the products. Software being PC software.
    I think he is saying that firmware goes much faster than PC software. That is normally the case with any product. Since the PC software needs manuals and other documentation.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com


    COMING SOON "SD DATA LOGGER" www.sddatalogger.com

    "I reject your reality, and substitute my own." Mythbusters
    ·
  • Rob v.d. bergRob v.d. berg Posts: 89
    edited 2006-06-01 11:05
    Bean,

    Thanks, its clear, we do have something to wait for.

    regards,

    Rob.
Sign In or Register to comment.