Skip to content

Is there a easy way to use c++ objects in IR? #58

Closed
@lanistor

Description

@lanistor

Thanks for paying attention to my question.

I am developing a new JIT VM, the language is like JavaScript, When i started to design JavaScript's Object, i found it's hard to design by hand. And i think std::map may be helpful to implement it, i just need to write its header file's IR code, and then link them while running.
But soon i found that the number of its header file' IR code is also huge, i don't know how to use it. The same question happens with std::list object.

So, is there a easy way to use c++ object(such as std::map, std::list) in my new language? Using it directly while building IR? Or using ready-made IR of their header files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions