P
P
P7472020-10-24 23:42:14
go
P747, 2020-10-24 23:42:14

Can Golang replace C/C++ in hardware programming?

Good afternoon!

Can Golang replace C/C++ in hardware programming? That is, to write low-level programs for hardware, machine learning, and indeed software for desktop OSes on it, since C / C ++ is used?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2020-10-25
@P747

Can hardly replace C/C++. It is used only in certain areas due to its features. It can only push them a little, for the most part in system and application software, as well as in other things related to communications.
The TinyGo project, for example, allows you to write software in a subset of Go for microcontrollers and WebAssembly. I don't think many people know about it.
Apparently, Rust is the most successful replacement for C/C++. At least in browsers and the Linux kernel (so far only discussions) there has already been a shift.

A
Alexander Pavlyuk, 2020-10-24
@pav5000

You have a question about programs "close to hardware" and machine learning and standard desktop software are immediately mixed in, decide.
For iron, go will be less convenient to use than C / C ++
For machine learning, you can use go.
For desktop software, if you mean a graphical interface, go will also be inconvenient to use.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question