[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture


View post   

File: 680 KB, 1250x1100, 1311711025180.jpg [View same] [iqdb] [saucenao] [google]
8788166 No.8788166 [Reply] [Original]

So /jp/...
Which compiler is the best for Assembly?
DJGPP doesn't run on windows 64 bit...

>> No.8788184
File: 318 KB, 500x600, 1281217369950.jpg [View same] [iqdb] [saucenao] [google]
8788184

Again with this?

I use Windows debugger, but only works with 16 bit x86 ASM. For other matters I use NASM.

>> No.8788189

Turbo Assembler

>> No.8788191

Also, you didn't specified which processor you want to compile for.

>> No.8788205

>>8788191
My processor is 32 bit I want to make programs for it (know more Assembly)...
Yes I know I am pretty retarded for using a 64 bit windows.

>> No.8788213

>>8788166
i learned with borland's turbo assembler, but... don't tell me you believed /jp/'s lies and thought you had to do assembler -> c -> c++ to learn how to program? that was a troll
try learning with a language as high level and modern as possible, friend, if you don't want to waste your time relearning almost everything and getting rid of bad habits from 30 years ago

>> No.8788221

nasm

>> No.8788222

>>8788213
But, the book I have here says knowing Assembly is good for making a better C/C++ code...

>> No.8788229

>>8788222
And it's from 2006 (not so old)...

>> No.8788238

pls respond

>> No.8788251

GNU Assembler

>> No.8788263

>>8788222
Knowing assembly may help you write better C code.

>> No.8788265

>>8788222
depends on what you think "better" code is
i would argue that making your code too low level would only serve you on very limited cases
your code quality would take a hit in portability, readability and maintenance by using assembly instructions, only giving you speed in exchange
nowadays, that's pretty stupid on general computers, but you can learn it later if you need it for some devices/tasks
programming in assembler is *painful*, why would you start using that...
my advice is that you go for a modern language. i'm not a fan, but you coud try c# if you want, or at least go directly for c++
i would recommend python though... or java if you want to do enterprise things
but recreationally, python

>> No.8788284

>>8788265
>depends on what you think "better" code is
For example, in games, making a code that's has a better performance.

>> No.8788310

>>8788284
Performance is trivial these days. Do not use assembly if that is your reason for doing so.

>> No.8788337

Fuck, now I don't know what to do...

The book says I would write a better code...

>> No.8788364

>>8788337
learn it later easy...

>> No.8788368

>>8788337
Unless you have lots of experience with programming and the inner workings of the processor you are writing for, you will not produce more efficient code than compilers can generate these days.

>> No.8788372

You've got a way better chance of making things go slower by hand-crafting assembly.

>> No.8788406
File: 177 KB, 850x1158, 6ee7c4d40b0c38c0f34e5763c528f9eaa.jpg [View same] [iqdb] [saucenao] [google]
8788406

>>8788213
I am currently investigating the D language. C/C++ are "primitive" languages and should be abolished from common computing. Programming computers with them is a pain in the ass.

There is also something called C++0x which I haven't investigated yet, that is the evolution of C++. Anyway, C/C++ is still shit for computers. Use them for programming non-complex things.

>> No.8788408

>>8788368
Not when your compiler doesn't do any optimizations.

>> No.8788460

If it's not LISP, it's shit.

>> No.8788538

>>8788408
Then you have a shitty-ass compiler.

>> No.8788555

Just use masm already if you're on Windows.

>> No.8788581

You will never program code. sadfrog.jpg

>> No.8788683

>>8788555
What about fasm?

>> No.8788762

>>8788683
Okay too, a bit more portable.

>> No.8788787

Is there still a market for x86 assembly?

I thought most people moved over to ARM assembly and thumb2.

>> No.8788928

I started doing some 6502 assembly. Just as a hobby project, though.

>> No.8788944

Whenever threads like these pop up, I'm always surprised at how many /jp/'ers must be 40-something year olds EXPERT PROGRAMMERS.
It's really odd to think that you might be the same people in the gensokyo/tea/sion threads.

>> No.8788958

>>8788944
Don't kid yourself. We're all in our mid twenties but can act like 15-year-olds or 40-year-olds at will.

>> No.8788985

>>8788958
More like 7-year-olds.

>> No.8789371

>>8788958
>We're all in our mid twenties
Don't kid /your/self, friend.

>>
Name
E-mail
Subject
Comment
Action