![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() ![]() ![]() |
I can't recall if it was Sun or IBM that had that... Hopefully, I didn't through that mag away as I don't recall the name. I will look for it when I get home today.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#12 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Cheers.
|
|
|
|
|
|
#13 | |
|
Programmer
Join Date: May 2005
Location: England
Posts: 61
Rep Power: 4
![]() |
Quote:
I just felt like stamping on a dream today ![]() My ideal language would manage memory without need for the programmer to interfere much with it. Of course, I'd like to see something like setting memory areas as non-executable, to prevent against buffer overflows, but that's a feature closer to the OS and hardware than a compiler. I'd also like to see a nice, standardised API available to interact with basic features of many operating systems, such as GUI making etc. It'd make portability so much easier. Of course, that's just like writing a little wrapper to abstract API x of platform y into something usable by all. A lot of features I've asked for have been handled by dear old Python, but the main thing I'd like to see out of a programming language is something that's really optimised. Real power crunching code. Possibly optimised by the compiler itself (and I don't mean by omitting the frame pointer every so often). It'd kick ass to find a language for newbies also, that doesn't frighten people off, and isn't spurned by more veteran coders. In many cases, coding newbies don't know what to do. If there was only one universal resolution as to what the ultimate beginner language was, then it'd solve 90% of the newbie coding problems I see on forums. Alright, well that's my 2c.
__________________
http://www.nuticulus.net/hackmysig/sig.PNG Give my site a chance, you know you want to ;-) Google will solve 99% of your problems. Including those with your sex life. Caution, may <strike>contain</strike> be nuts. |
|
|
|
|
|
|
#14 | |
|
Professional Programmer
|
Quote:
But I've never understood why you couldn't have simple concepts tie into more complicated ones on different levels based on where you are as a programmer. There are many, many examples I'm sure, but the first that comes to mind is relaxed into strict typing. Why would it be so hard to do something like mystring = "Hello"; mynumber = 25; myitem = mystring + mynumber; // myitem contains "Hello25"; char array mystring = "Hello"; short uint mynumber = 25; myitem = mystring + mynumber; // myitem, specifically declared without types, is able to now contain "Hello25"; long uint myitem2 = mystring + mynumber; // would raise an error at compile time That's just one for-example of why I brought this topic up.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
|
#15 |
|
Programming Guru
![]() ![]() ![]() |
The language I mentioned in my prior response is MIT's Metaphor (an Article in my Optimize mag)
It takes a "story" inputed by the "programmer" and generates the code. If there is an interest in this, I will scan the magazine article and put it on here.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#16 | |
|
Professional Programmer
|
Quote:
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;} |
|
|
|
|
|
|
#17 |
|
Programming Guru
![]() ![]() ![]() |
Yup, the actual article that I saw in my mag (with screenshot, etc) is in a dedicated thread in the Application Programming - Misc forum.
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|