V
V
Vadim Chuprakov2016-06-08 22:52:50
Programming languages
Vadim Chuprakov, 2016-06-08 22:52:50

Are there any languages ​​that compile to C++?

I have such a simple question: are there any languages ​​in nature that compile to C++?
That is, languages ​​in which it is easy to write and without pain, but the output would be / it doesn’t matter what / code, but easily connected with the rest of the application on the pluses.
---
I need this in order to replace the scripting system in the lua game engine with a faster and more optimal one, albeit with compilation costs.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Taratin, 2016-06-08
@Taraflex

haxe.org is essentially an improved as3 with a powerful type inference system.

#
#algooptimize #bottize, 2016-06-08
@user004

luac?

A
Anton Zhilin, 2016-06-08
@Anton3

If you implement a C-compatible API, then you can link to any compiled language, such as Rust. Another thing is that in this case all the goodies of C ++ are lost, the API will look, let's say, not ideal.

W
webbus, 2016-06-09
@webus

Nim? nim-lang.org/docs/backends.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question