Skip to content

Consider adding native targets support #2053

Closed as duplicate of#304
Closed as duplicate of#304
@rafaeltonholo

Description

@rafaeltonholo

Hi there,

Thanks for all your work on KotlinPoet! I'm currently developing a project that generates Kotlin code, and KotlinPoet looks like a great fit for improving our code generation process. However, my use case includes native targets (mac, linux, windows), which I see are not yet supported.

I wanted to reach out to understand whether native support is on the long-term roadmap or if there are any near-future plans to explore it. I realize this might not be a high priority right now, so I’m mainly trying to gauge whether it's even on your radar.

I've done a bit of research and noticed that supporting native targets may involve changes like implementing String.codePointAt(index: Int): CodePoint and some other external functions. I'm aware there could be additional complexities and would love to learn more about potential blockers.

If there's any interest in moving toward native support, I'd be happy to help, though I might need guidance from those more familiar with the project's architecture.

Thanks again for your hard work on this library, I really appreciate it and look forward to hearing your thoughts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions