New programming languages

Moderators: None (Apply to moderate this forum)
Number of threads: 113
Number of posts: 331

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: ...What!? No Responses, Yet? Where are all of the brains out th Posted by Jonathan on 10 Nov 2004 at 5:07 PM
Hi,

: ...Well, So much for programmer's supporting new ideas! Please tell
: me that the innovation has not left the industry. Are we all so
: complacent now that we do not explore new ideas?
:
To be honest, I had no idea this board existed. Guess I can't use that excuse now. I'm currently a computer science undergrad at Cambridge (UK), and programming langauge design, compilers and virtual machine are areas I'm interested in. Knowledgable or competent is another matter, mind. Anyway, you've managed to capture my curiosity.

It seems to me that you're saying "we have these different natively compiled files (which may be executables or DLLs, or just a format of your own?) and will provide some kind of standardised, OO-shaped interface to allow connectivity between them". Let me run thorugh some examples of what I think the possibilities are and see if I get the idea.

1) You've written a module that converts a wave file to an MP3. Alone, it provides some mechanism (via a loader?) that allows people to use it out of the box solely for that. I'm implementing something that synthesises some sound and stores it in wave format. I can instantiate your module in my program and use it to convert my wave file to an MP3 using it. Nothing we can't do with a DLL so far, but the nice OO interface of the module being exported is going to make life easier for me.

2) You've written a module that takes a load of text and break it down into sentences. I like this, but I have my text that I want to use stored in HTML documents (sorry, these examples suck...). I inherit from your program, over-riding certain methods so that I can strip out the HTML before invoking the method on the super-module with the text.

The right kind of idea? Interesting, if so. In a way, we kinda went there with UNIX, where we had loads of little programs that we joined together with pipes. E.G. to find the number of lines containing the word monkey in a text file we'd do:-
cat textfile | grep monkey | wc -l
What you suggest almost seems to be an object oriented and more flexible extension of this.

Here's some questions.

1) What's the language going to look like? I suspect C and C++ style syntax, from your posts. But I'm hoping some lessons are learnt from elsewhere too...

2) Is this language going to be garbage collected? Do we get references rather than pointers (e.g. will there be free pointer arithmetic)? Are we getting bounds checking on arrays (buffers)?

3) Are you going down the native code route, or interpretation (so you win better cross-platform support)?

Warning: time isn't something I have in great supply. But I probably have time enough to bounce some ideas around.

Hope some of this makes sense...it was a long day at the lab today, and my brain is kinda mushy.

Jonathan

###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Thread Tree
684867 Need more Data.... on 19 Oct 2004 at 10:36 AM
684867 Clarifications on the matter on 12 Nov 2004 at 9:51 AM
Jonathan Re: Clarifications on the matter on 13 Nov 2004 at 10:54 AM
684867 Part I: This is getting good on 17 Nov 2004 at 11:11 AM
684867 Rebuttal 4: The conversation continues on 19 Nov 2004 at 9:43 AM
rattustherat Re: Rebuttal 4: The conversation continues on 18 Feb 2005 at 5:13 AM
rattustherat Re: Rebuttal 4: The conversation continues on 18 Feb 2005 at 5:17 AM
Alexandrescu Re: New Programming Paradigm Spec. Needs Die-Hard Coders on 28 Apr 2005 at 11:22 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.