Похожие чаты

Just curious, why the set of java api can run

on both Linux, windows and mac,
But in C++, it’s also a cross platform language, but why some api not working on Linux?

3 ответов

5 просмотров

C++ compiles into native binary and no its not simply cross platform they make it work with a ton of macros (larger libs) Java compiles to bytecode which works on jvm

Java runs in https://en.wikipedia.org/wiki/Java_virtual_machine. C++ runs natively. Everything in standard C++ runs on all platforms.

C & C++ are portable, meaning you can compile the source code in different systems without any change or some little changes to work. Being portable doesn't mean binary portable or compatible.

Похожие вопросы

Обсуждают сегодня

For managing user-generated content rights in gaming? 🤯🚀
Brian
37
Do we have a Chinese community here?
迪迦
20
@Aiwan что такое база образца?
Alexey
27
Не многие знают, а кто знает, тот уже успел забыть, что в далёком 2004 году эта игра произвела настоящий фурор, настолько революционной была технология, применяемая для её соз...
ICCID
4
Why binance delisting the token?
🅰🅽🅳🆁🅴🆆
14
Hi is Atomic wallet safe to exchange btc to xmr?
Regex
20
Короче я тут узнал полный пиздец Что кучу постов которые я создавал через posted Спустя время не могу редактировать и менять Мол телега возвращае ошибку Это реально так ...
inc.
13
коллеги, добрый вечер! А никто не знает как модальная форма может себя закрыть? Ну допустим модальная форма определила, что смысла ей работать нет и хочет вернуть modalResult...
Михаил
83
Hello, Ergo Investor here. Had a few questions for the leadership of the project, from what I’ve seen @kushti_ru , @Armeanio @dadreboi In one sentence, what is your vision f...
A
13
Is UniBright Freequity an active live product ? A friend here in Asia was discussing the Tokenisation of RWA’s in his case Real Estate as he’s a developer with numerous overs...
Digital Trust
5
Карта сайта