View Poll Results: Choice of project

Voters
24. You may not vote on this poll
  • A small scripting language, possible using bytecode.

    11 45.83%
  • A C compiler.

    6 25.00%
  • An internationalization (i18n) library.

    4 16.67%
  • An implementation of the C++ STL for C.

    5 20.83%
  • An operating system.

    7 29.17%
  • A portable build system.

    9 37.50%
  • A "modern" editor (MVC pattern).

    4 16.67%
  • A game maker.

    2 8.33%
  • An RPG.

    2 8.33%
  • An IDE with integrated SVN support.

    4 16.67%
Multiple Choice Poll.

Thread: CBoard Community Project: Poll #1

  1. #121
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Brafil View Post
    @MK27: Yes, I was meaning _shell_ scripting languages. I didn't say shell, cuz for me it's nod interpreted-vs-compiled rather than the things the language was designed for.
    Okay. But there are very few of those -- bash, DOS (can you script in DOS?), etc. They are highly specialized and of pretty limited usefulness, but they are great for doing what they are intended for. I can see a possible source for your confusion in that the "language" used in GNU make is a lot like bash.

    Perl, ruby, et. al. are not shell scripting languages; you have to use system() there just like everywhere else. The syntax is much the same as a compiled language; functionally they are capable of exactly the same stuff, as long as you don't need an independent binary to do it (eg, as with the kernel). That is why the distinction between interpreted and compiled is an important distinction. In essence, "scripting" == "interpreted". A script is something that is interpreted at runtime. So there are Java scripts, and javascript scripts, altho it may not be common parlance to call them that (probably because of the confusion that would result). "Source code" is something that is precompiled.

    Has anyone been looking at the new forum lately?
    Last edited by MK27; 05-27-2009 at 07:59 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #122
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    No, you can't really script in DOS. Just execute programs. And some _basic_ things, too.

    I don't think the forum has been visited often... Gonna upload _my_ proposals.

  3. #123
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    >> I would have it work identically (or at least seem so) to compiled C. The idea being you could take a pre-existing C program and execute it in the virtual environment for dynamic analysis.

    Another interesting option is that the interpreted code could be compiled into a native binary (provided the interpreter generates some sort of bytecode).

    Also, I just had an idea. To avoid bounds-checking overhead on array accesses (in loops, at least), you could use a special pre-checked range iterator. It's constructor (or whatever) could take a start and end index and the array in question, and from then on the accesses from that iterator would be "trusted". Just a hazy thought, but it sounds like a good idea at the moment.

    Oh, and one more thing: what language are you guys writing this in?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  4. #124
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    Probably in C.

  5. #125
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    BUMP.

    Hey, you there! The new board is emptier than the Sahara desert. We need some volunteers more.
    And please, please fix the problem I've described in my post.

  6. #126
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Quote Originally Posted by Brafil View Post
    No, you can't really script in DOS. Just execute programs. And some _basic_ things, too.
    This is just patently wrong.

  7. #127
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Quote Originally Posted by Brafil View Post
    BUMP.

    Hey, you there! The new board is emptier than the Sahara desert. We need some volunteers more.
    And please, please fix the problem I've described in my post.
    Shh, it's exam season :-). For me anyway.

  8. #128
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    @abachler: I know you _can_ script in DOS, but IMO it's missing some important features. Anyway, I hope Windows Powershell will take the place of the default language (cmd). Maybe it's because Windows doesn't require you to know cmd.
    Last edited by Brafil; 05-31-2009 at 04:32 AM.

  9. #129
    Registered User
    Join Date
    Mar 2009
    Posts
    48
    Regarding my pool C/C++ skill, i can't do anything now.
    But i'd like to care the community project.
    Cheer!
    --------------------------------------------------------
    Newbie
    C/C#/C++
    swimming/cycling/running
    There is nothing more powerful than an idea.
    Except for an idea put into action.
    --------------------------------------------------------

  10. #130
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by userpingz View Post
    C // swimming (General & Basic)
    C# // cycling (Wonderful & Flexiable)
    C++ // running (Sexy & Hard !!!)
    You couldn't have it more wrong.

    Swimming = wonderful and flexible
    Cycling = sexy and basic
    Running = hard and general

    I used to courier (and downhill MTB), b/t/w, and the last word I would use to describe the activity of riding a bicycle would be "flexible".

    Anyway, all you cop-outs and peanut gallery pundits better get over to the community project forum:
    CCP &bull; View forum - Discussions
    before Brafil and I kill each other
    Last edited by MK27; 06-02-2009 at 11:56 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  11. #131
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Sorry, not that I am hiding, but I am feeling rather... lethargic at the moment. I also have another project for which I am behind schedule
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  12. #132
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Hmm, how far along is this planning? Would it be too late to get in on this, even if I can't contribute much?

  13. #133
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by MacGyver View Post
    Hmm, how far along is this planning?
    Do you like Monty Python's Flying Circus? Have you ever seen that skit "Philosophers Playing Soccer"*? That is how far along it is.

    But we do have our own site base thanks to Snafuist, better look at that too (before or after, it doesn't matter):

    CCP &bull; View forum - Discussions



    * I just googled and it is on youtube:
    YouTube - Monty Python Philosophy Football
    or search "Monty Python Philosopher Football"
    One of the funniest jokes of all time...
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  14. #134
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Ah, I'm guessing it hasn't gone too far too fast.

    I'll have to keep reading.

  15. #135
    Making mistakes
    Join Date
    Dec 2008
    Posts
    476
    No. Just come and join.

    Quote Originally Posted by MK27+
    Quote:
    Originally Posted by userpingz View Post
    C // swimming (General & Basic)
    C# // cycling (Wonderful & Flexiable)
    C++ // running (Sexy & Hard !!!)
    You couldn't have it more wrong.

    Swimming = wonderful and flexible
    Cycling = sexy and basic
    Running = hard and general
    Agree. I still don't understand people who think that C++ is far more superior than C and that you'd ALWAYS better do it the C++ way. Yeah, C++ _is_ nice, but I prefer C.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cboard community project
    By zacs7 in forum Projects and Job Recruitment
    Replies: 76
    Last Post: 05-16-2009, 08:30 PM
  2. Problem Displaying a Struct
    By rockstarpirate in forum C++ Programming
    Replies: 16
    Last Post: 05-05-2008, 09:05 AM
  3. CBoard Project?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 40
    Last Post: 06-21-2004, 03:15 PM
  4. POLL! What was your first C project?
    By webguy899 in forum C Programming
    Replies: 8
    Last Post: 05-02-2002, 11:15 PM