Kotlin-native: x86 32-bit targets

Created on 13 Oct 2017  路  17Comments  路  Source: JetBrains/kotlin-native

Support for 32-bit x86 targets - Windows and Linux - is the only missing part for native desktop applications, almost everythig else is in place already.

Most helpful comment

Well, Android x86 target is real on emulators especially with HAXM enabled. It is something significant.

All 17 comments

Why do you need 32-bit WIndows targets? Are there so many of them as targets for new development?

WinXP is still in use, and will be long time. See #787
Even WinCE is in use on embedded devices like GPS trackers.

Android NDK too have Atom(32) and Atom_64 targets.

Adding an additional platform imposes some overhead on us, but we're ready to consider external contribution of Windows/x86_32 support. x86 Android and especially mobile Windows platforms are not something with significant market share, so we're not currently planning to support those.

OK, thanks. But let's leave this issue open :)

Well, Android x86 target is real on emulators especially with HAXM enabled. It is something significant.

Windows x86 is still an important target. Many cheap Windows tablets and convertibles sold in emerging markets have only 1GB or 2GB RAM. These devices ship with 32-bit version of Windows.

My use case is that I'm searching for the language that allows me to create libraries from the same sources for the frontend (typescript), backend (scala), and for the legacy application (c++) for windows x86_32.

32-bit support is also necessary to support WatchOS - both x86 for the simulator and 32-bit ARM for the actual Apple Watch. I have an iOS project that I would like to integrate a kotlin-native framework into, but currently cannot because the core infrastructure, which would use the framework, is used by the project's WatchOS app.

kotlin-native's "32 bit support" is very important even for "MS Windows Vista 32 bit Desktops" and "MS Windows 7 32 bit Desktops"

@vegansk you can see haxe language https://en.wikipedia.org/wiki/Haxe#Compiler

I've been doing some work with a compiled program on 32-bit x86, would love to start doing it in Kotlin.

I really liked the idea to replace native code with Kotlin Native, but not supporting Windows x86 makes it unsuitable for me. What does this have to do with legacy 32bit operating systems? I'm looking to write a dynamic library plugin for an existing x86 application on Windows 10 x64 , obviously x64 .dll won't work.

I think there are a lot of use cases related to reverse engineering or plugins for existing apps where you are working with 32 bit binaries. If it is by any means reasonably possible to get x32 support on Windows, I would very much appreciate it.

Windows 32-bit is supported now. If 32-bit Linux is important with clear motivation for someone - please open a new issue.

@olonho Is 32-bit WatchOS already on the radar? Or should that be filed as a separate issue as well?

32-bit watchOS and Android will be available in 1.3.60.

@olonho 32 bit linux - yes please - for Tizen

Was this page helpful?
0 / 5 - 0 ratings

Related issues

talanov picture talanov  路  3Comments

AregevDev picture AregevDev  路  3Comments

tarek360 picture tarek360  路  4Comments

benasher44 picture benasher44  路  4Comments

brettwillis picture brettwillis  路  4Comments