LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2013, 08:53 PM   #31
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454

Quote:
Originally Posted by theNbomr View Post
What?! Heavens No!. I'd write an assembler in machine code toggled in with switches, so I could use the assembler to write a compiler! In the cold. And wind. Up hill. Both ways...

--- rod.
If you are serious, then why ? Cross-compilation and cross-linking are known for decades.
 
Old 05-22-2013, 09:48 PM   #32
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
PASCAL!!!!!

The bestest language ever!!!

No, I'd stick with c or c++ unless you were feeling really ambitious. ---> http://www.menuetos.net/
 
Old 05-22-2013, 10:40 PM   #33
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by mreff555 View Post
PASCAL!!!!!

...
The same questions (see post #26) apply. I mean standard Pascal.

Pascal actually has pointers, but they are safe and can point only to existing objects. The heap used to create new objects is dealt with by OS - which you don't have yet.

So, how are you going to allocate memory in Pascal ?
 
Old 05-22-2013, 10:54 PM   #34
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467

Original Poster
Blog Entries: 60

Rep: Reputation: 51
Prolog!!!!

 
Old 05-23-2013, 01:47 AM   #35
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by gnashley View Post
Even the creators of the g++ compiler chose to write it in C... LOL
GCC now uses C++ as its implementation language.
http://gcc.gnu.org/gcc-4.8/changes.html
 
Old 05-23-2013, 06:43 AM   #36
mreff555
Member
 
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
Quote:
Originally Posted by Sergei Steshenko View Post
The same questions (see post #26) apply. I mean standard Pascal.

Pascal actually has pointers, but they are safe and can point only to existing objects. The heap used to create new objects is dealt with by OS - which you don't have yet.

So, how are you going to allocate memory in Pascal ?
I was actually trying to make a joke that obviously wasn't all that funny. I'm pretty sure pascal would not be a good choice for an OS
 
Old 05-23-2013, 10:08 AM   #37
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by Sergei Steshenko View Post
If you are serious, then why ? Cross-compilation and cross-linking are known for decades.
Of course I wasn't serious. That's one of the problems about making jokes with programmers; they read everything according to its literal meaning. It was a joke following the stories old-timers invariably tell about how difficult their past was, and how we youngsters have life so easy. I guess I need to add comments to my humor so programmers will be able to understand it.
---
 
Old 05-23-2013, 10:31 AM   #38
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by theNbomr View Post
Of course I wasn't serious. That's one of the problems about making jokes with programmers; they read everything according to its literal meaning. It was a joke following the stories old-timers invariably tell about how difficult their past was, and how we youngsters have life so easy. I guess I need to add comments to my humor so programmers will be able to understand it.
---
I have also dealt with machines which could be controlled by mechanical electrical switches. I.e. address and data could be set from switches, step by step execution was possible, including visibility of data during bus cycles.
 
Old 05-23-2013, 10:54 AM   #39
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by theNbomr View Post
Of course I wasn't serious.[...]
To follow your lead, perhaps the OP should go "whole-hog" an start at, say, the hardware level. The current use of binary switches in CPU design is a clear limiting factor in computer speed and accuracy. So the OP should consider building a multi-state based CPU, say base 7 (base 3's been done), and really starting from "scratch."

You youngsters have all been simply spoiled by this newfangled "fire" craze. If you don't cool it, you'll end up burning the whole world to ash!
 
Old 05-23-2013, 10:15 PM   #40
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467

Original Poster
Blog Entries: 60

Rep: Reputation: 51
Quote:
Originally Posted by PTrenholme View Post
To follow your lead, perhaps the OP should go "whole-hog" an start at, say, the hardware level. The current use of binary switches in CPU design is a clear limiting factor in computer speed and accuracy. So the OP should consider building a multi-state based CPU, say base 7 (base 3's been done), and really starting from "scratch."

You youngsters have all been simply spoiled by this newfangled "fire" craze. If you don't cool it, you'll end up burning the whole world to ash!
If I had the time, money, and knowledge to do that, I would instead devote it to building a data flow architecture for general purpose computing. I.e., one that most people can afford.

I am, however, trying to learn GPGPU programming. Perhaps that is the bridge...?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google Unleashes Go: A Brand New Systems Programming Language LXer Syndicated Linux News 0 11-12-2009 12:10 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration