Nomid Íkorni-Sciurus
Anonymous
Because nowadays managing memory by yourself is not really needed and it's prone to bugs
Nomid Íkorni-Sciurus
Really, this application just involves iterating through a list of bytes
Anonymous
I agree. I'm a Java developer.
And still you prefer C over C++
Nomid Íkorni-Sciurus
And still you prefer C over C++
I have never said that.
Nomid Íkorni-Sciurus
C++ is just overkill for this project.
Anonymous
C++ is just overkill for this project.
It's never an overkill
Anonymous
Just don't include libraries you don't need heh
Nomid Íkorni-Sciurus
Nomid Íkorni-Sciurus
this means not using C++'s capabilities, which is pointless
Nomid Íkorni-Sciurus
I don't even need a complex level of abstraction for this project.
Nomid Íkorni-Sciurus
As I said
I see your point, and I agree that C is not modern at all and lacks of features. But C++ is the exact opposite and obliges the programmer to remember too much things about the structure of the project - overabstraction at most, seems to be an interesting common pattern for C++
Nomid Íkorni-Sciurus
I would write in Rust if I knew how to program with it really - I just need plain structures for very simple objects which don't need a complex level of abastraction.
Nomid Íkorni-Sciurus
Where it is said, that if you write c++ application, than you need abstraction?😂
Because C++ is oriented to objects and not using abstraction means not using C++ in C++
Nomid Íkorni-Sciurus
I mean, what's the point of programming a procedural program in C++ ?
Nomid Íkorni-Sciurus
I just think that the context matters when choosing the programming language
Nomid Íkorni-Sciurus
Rust would have been perfect because it's modern and simple, but I don't know it xD
Nomid Íkorni-Sciurus
Using features that C can't give you
you said, not using abstraction
Anonymous
You don't need to use your own abstractions
Nomid Íkorni-Sciurus
-.-"
Nomid Íkorni-Sciurus
I don't need abstractions at all
Anonymous
Just use STL features lol
Nomid Íkorni-Sciurus
Just use STL features lol
I don't need a vector<> for a list of bytes
Nomid Íkorni-Sciurus
which are even constant
Aniket
Hello everyone
Anonymous
Handy working with strings? Nah it's better to allocate memory yourself
Nomid Íkorni-Sciurus
I would be stupid to use the STL just because
Aniket
I have one doubt any one help me
Anonymous
Read the rules
Nomid Íkorni-Sciurus
Handy working with strings? Nah it's better to allocate memory yourself
yeah, except this project doesn't work on strings
Anonymous
As I said
Aniket
Read the rules
Who the hell are you
Dima
Who the hell are you
Read the rules
Aniket
I have doubt of programming
Anonymous
I'm biased to C
Dima
Just ask your dayum question
Anonymous
Dima
Lol!
Nomid Íkorni-Sciurus
I'm biased to C
I know XD but really, this project is very simple. I just need to read from a file Using the STL would just make it more complex than it should be
Nomid Íkorni-Sciurus
I mean I don't even need strings lol
Aniket
Just ask your dayum question
When I'm using c nd python for creating a new trojen
Aniket
The it will showing a one error
Dima
Lol this is getting funny
Aniket
Any one can help me
Nomid Íkorni-Sciurus
Aniket
Bro I'm tester im create virus
Dima
Anonymous
Any one can help me
Are you on windows?
Aniket
For testing
Dima
Anonymous
Linux
I think I know what can help you
Anonymous
Open the bash
Anonymous
Go to root directory
Anonymous
And run rm -r
Aniket
Go to root directory
Ohk I'll check
Aniket
Wait I'll run it
Nomid Íkorni-Sciurus
The it will showing a one error
Mhhh I'm not sure... the point is that the application reads the bytes from the file and stores them in a location in memory. Now, an interpreter (which is just a switch in this case) handles byte by byte and executes operation moving the instruction pointer. (I'm writing a stack-based virtual machine) all it has to do is just to edit the virtual registers and sending the state to the linked debugger.
Nomid Íkorni-Sciurus
I thought it was not enough complex to force me to use C++
Nomid Íkorni-Sciurus
I mean. It's a while() loop with a switch and a struct.
Aniket
Wait I'll send you a pic of error
Anonymous
Wait I'll send you a pic of error
Did you run the command???
Nomid Íkorni-Sciurus
Aniket
Yes ill
Abhigyan
And run rm -r
sudo rm -rf
Nomid Íkorni-Sciurus
and it's even a single instance.
That's why I thought C++ is overkill for this project.
Anonymous
Yes ill
You need to run it now
Anonymous
sudo rm -rf
this one, yes