Better HN
topnewbestaskshowjobs
Log inSign up

snafu109

42 karma · joined Jun 12, 2019 (7y ago) · 12 submissions

Submissions

1.

Why We Still Need an IDE(blog.jetbrains.com ↗)

4 points · by snafu109 · 1mo ago · discuss

2.

An important update on our team(atlassian.com ↗)

34 points · by snafu109 · 8mo ago · 18 comments

3.

Gradle 9.0.0(docs.gradle.org ↗)

1 points · by snafu109 · 1y ago · discuss

comment 2y ago · link · parent

Dupe of https://news.ycombinator.com/item?id=40452281

5.

Celebrating Kotlin 2.0: Fast, Smart, and Multiplatform(blog.jetbrains.com ↗)

15 points · by snafu109 · 2y ago · 3 comments

comment 3y ago · link · parent

Haven't read yet but I found the transcript in HTML which is easier to read on a phone: https://www.grc.com/sn/sn-545.htm

comment 5y ago · link · parent

> "... you won't be able to run Gradle 6.8.x on Java 16"

Exactly. But you could run Gradle on Java 8-15 and use the new toolchains support to build with Java 16.

I'm not saying setting up toolchains is frictionless or even reliable yet (given the feature is so new) but it's there.

comment 5y ago · link · parent

I'm guessing you only read the issue or title on that link, because the second comment on that issue is from one of the Gradle maintainers suggesting using toolchains (which I linked to), with follow ups from various users advising some success, allowing them to target Java 16 while running Gradle on an earlier, supported version.

comment 5y ago · link · parent

Gradle has support for running and building with different JDK versions (it's not new with Gradle 7 but it's a recent feature).

So it was possible to support building Java 16 projects while running Gradle on a supported Java version before Gradle 7 was released.

https://docs.gradle.org/current/userguide/toolchains.html

comment 5y ago · link · parent

I haven't personally used it, but the Worker API offers various levels of isolation for tasks, including class loader and process isolation modes.

https://docs.gradle.org/current/userguide/worker_api.html#ch...

comment 6y ago · link · parent

The takeaway is "make sure you use a tool like R8 or ProGuard to remove unused code paths". That's where most of the savings came from, and the advice applies to Java projects as well.

But true, if you care about every last byte, you might use Java instead. You might also use another language entirely.

comment 6y ago · link · parent

Official announcement: https://blog.jetbrains.com/kotlin/2020/08/kotlin-1-4-release...

What's New in Kotlin 1.4: https://kotlinlang.org/docs/reference/whatsnew14.html