Categories > Coding > C++ >

Assembly and Cpp

Posts: 848

Threads: 72

Joined: May, 2020

Reputation: 9

Posted

First is Assembly faster or cpp

Second is Assembly better then cpp for memory management and crap like that

Third this is my 50th thread epic :)

  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

simple_x

milktea

Posts: 394

Threads: 22

Joined: Sep, 2019

Reputation: 4

Replied

assembly is faster

it's low-level programming language, so it's compiled to machine language faster

than having to be compiled twice then to machine language like C++

  • 0

Added

@Astronemi yeah it's like that

  • 0

 

i own synapse x
biggest idiot in town

discord: nakiri#4485

Posts: 848

Threads: 72

Joined: May, 2020

Reputation: 9

Replied

@simple_x So when you write assembly your basically skipping the compilation step?

  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

Wabz

Winning.js

Posts: 2410

Threads: 194

Joined: Apr, 2020

Reputation: 27

Replied

First of all, Assembly is faster than C++. 

Second, i'd like to correct some comments here.

The computer does not understand assembly.

Assembly is just an easy way to show instruction calls on the CPU, and each of those instructions have a binary code.

So you can't give the computer some assembly and expect it to understand, you need to compile it (yes, compile it :kekw:) in the form of an executable. However, it's much easier to compile assembly to an executable than compile C++ to an executable.

 

So don't expect to be able to run an assembly file by clicking on it.

  • 0

Added

Also, you could see Assembly as bytecode, but you can't compare it to something like Python bytecode or Lua bytecode. Also Assembly just needs to be compiled, which can be done pretty easily and even manually if it's a small program and the individual is very skilled. Python bytecode needs to be feeded to the Python interpreter, same with Lua, or it won't work. Also Lua Bytecode really isint human readable, assembly is more human readable.

  • 0

My new discord is Wabz#1337 with ID 777154062789509130

Simplicity_X

(totally not) a femboy

Posts: 401

Threads: 72

Joined: Jul, 2020

Reputation: 3

Replied

I almost have 50 thread too

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )