[ prog / sol / mona ]

prog


Why is android development in Lisp so difficult?

1 2022-03-19 09:27

There are projects like eql5-android but you can't use the native Android gui library and have to stick with QT.

There is the Clojurescript approach but you will have to use React Native (which is developed by Facebook)

There is the Lispworks mobile runtime (I don't know how they achieved to create something like that, did they write their CL implementation in Java?) but it costs money.

There is kawa scheme but I'm not sure if it's as ready for real projects as something like Common Lisp or Clojure is.

Surely there must be an easier way right /prog/?

2 2022-03-19 11:05

It's not easier with other languages.

3 2022-03-19 13:34 *

>>1
Did you consider ABCL?

4 2022-03-19 14:00

>>3 ABCL can't build for the JVM fork that android uses.

5 2022-03-19 21:24 *

Lambdanative.

6 2022-03-20 01:46 *

>>4 rip

7 2022-03-20 07:29

>>1
It's because Android development is difficult in general.

8 2022-03-20 11:41

Have you tried Android development with Clojure?

9 2022-03-20 15:54

>>7
Is there a reason for this in general?

10 2022-03-20 16:51

>>9
Google doesn't want Android to be a stable platform. They're doing the classic "Fire and Motion" tactic to keep ahead of competitors on their own platform.

11 2022-03-20 17:08

>>9
Doing UI stuff is unintuitive and the way of Android apps are structured makes them messy and hard to read. I don't know how to describe it other than "muddy", doing things the right way according to google just feels wrong. It's also challenging to write android apps outside of Android Studio because there is a lot of boilerplate required. Debugging can be difficult as well.
I don't even hate Java, but I'd unironically use react over developing a native android app if I were forced to build an android app again.

12 2022-03-21 01:58

Doesn't work because Clojure expects a bone fide JVM, and Android runs ART.

13 2022-03-21 20:42 *

A true /prog/rider would be willing to lay down their life for Kawa. Have you people no shame! Android UI has an XML interface and there is a Clojure wrapper: https://github.com/clojure-android/neko/wiki/User-interface

14 2022-03-22 07:18

OP sold his soul to the necrotized flesh-eating monsters of the monolithic hierarchy fork of a college dorm hack.
seL4 lives while QNX rots. Minix chuckles.

15 2022-03-22 07:53

>>10
I don't know where you got this idea, change in Android is actually very slow, mainly because they are terribly afraid of breaking third-party apps.

16 2022-04-06 12:56 *

>>15
They might be afraid of it but the only people better at breaking third-party apps are Apple.

17


VIP:

do not edit these