flat assembler
Message board for the users of flat assembler.

Index > Heap > Assembly and the inevitable for language hobbyists

Author
Thread Post new topic Reply to topic
nyrtzi



Joined: 08 Jul 2006
Posts: 192
Location: Off the scale in the third direction
nyrtzi
And yesterday once again I ran into the same old problem and situation which I always seem to run into sooner or later if I try to think of a way to write a programming language I'd be happy with. The problem? That you can't use even a typical mainstream "low-level" programming language to implement basic features without dropping down back to assembly.

Yes, there are some C tools which seem to support this. On some platforms. And nowadays the library functions for this seem to be under the threat of being deprecated and removed because the same stuff can be kind of implemented with threads.

Which issue was it this time? Coroutines. Once again. It seems so easy to run into the "only one stack" limitation. What was that saying again? "All roads lead to Rome"?

So yes. Time to write or generate some assembly code. Again. No escaping fate it seems.
Post 30 Apr 2015, 05:49
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
You make it sound as though writing assembly code is a bad thing. Question
Post 30 Apr 2015, 05:55
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Living in Rome. Isn't it good?
Post 30 Apr 2015, 06:19
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
nyrtzi



Joined: 08 Jul 2006
Posts: 192
Location: Off the scale in the third direction
nyrtzi
revolution wrote:
You make it sound as though writing assembly code is a bad thing. Question


I'd prefer to steer clear of it when possible as I'd prefer the compiler to do for example register allocation and type checking for me. It isn't that bad but I don't feel as productive writing assembly as I do with a higher level language. That being the reason why I'm wasting my time trying to create another new higher level language in the first place.
Post 30 Apr 2015, 10:05
View user's profile Send private message Reply with quote
nyrtzi



Joined: 08 Jul 2006
Posts: 192
Location: Off the scale in the third direction
nyrtzi
JohnFound wrote:
Living in Rome. Isn't it good?


Mafia overdose.
Post 30 Apr 2015, 10:10
View user's profile Send private message Reply with quote
nyrtzi



Joined: 08 Jul 2006
Posts: 192
Location: Off the scale in the third direction
nyrtzi
JohnFound wrote:
Living in Rome. Isn't it good?


I guess I should explain the background a little even if we're getting sidetracked here. There was back in January a story in the national news here in Finland from a foreign correspondent living in Italy about how to the great shock of the ordinary citizens of Rome it has become apparent that Rome is just as much a playground of the mafia as the big southern cities of Italy. The newspaper story just made it sound like the city is full of corruption with many public services being run by shady people and companies and many of the top lawyers, politicians and police officials being in the pocket of criminal organizations.
Post 30 Apr 2015, 15:11
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
nyrtzi wrote:
JohnFound wrote:
Living in Rome. Isn't it good?


Mafia overdose.


There are many stereotypes for assembly language as well. Laughing

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 30 Apr 2015, 16:22
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.