unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nicolò Balzarotti" <anothersms@gmail.com>
To: Julien Lepiller <julien@lepiller.eu>, guix-devel@gnu.org
Subject: Re: Dart Compiler
Date: Tue, 24 Nov 2020 14:48:20 +0100	[thread overview]
Message-ID: <87sg8yyifv.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <C8B86C52-65C6-4B90-BFF7-C9D1C0C409EB@lepiller.eu>

Hi!

Julien Lepiller <julien@lepiller.eu> writes:

> Wow, impressive :)
>
> Le 24 novembre 2020 08:26:16 GMT-05:00, "Nicolò Balzarotti" <anothersms@gmail.com> a écrit :
>>
>>Hello Guix!
>>
>>In the last few months I've been working on the dart compiler.
>>
>>Dart is a programming language by google [1], mostly used with the UI
>>Framework flutter [2].  When the android-sdk will be available on guix,
>>it should be possible to use dart+flutter to write android programs.
>>
>>As you can guess, dart compiler is written in dart.  The latest stable
>>version is 2.10.  Luckily, I was able to compile an old 2.0.0-dev
>>version from source.  Using this version, I could build the following:
>>
>>2.0.0-dev.8.0 -> 2.0.0-dev.20.0 -> 2.0.0-dev.24.0 -> 2.0.0-dev.36.0 ->
>>2.0.0-dev.42.0 -> 2.0.0-dev.54.0 -> 2.0.0-dev.65.0 -> 2.0.0-dev.65.0-2
>>-> 2.0.0-dev.66.0 -> 2.0.0-dev.67.0 -> 2.1.0-dev5.0 -> 2.1.0-dev6.0 ->
>>2.2.0 -> 2.4.0 -> 2.5.0
>>
>>I should be able to build the latest stable (2.10) with some more work
>>using version 2.5.
>>
>>I'm polishing the code a bit, and then I'll submit the patches.
>>However, the codebase is enormous, and the download page says that
>>analytics are enabled by default (but they can be disabled).  I'd patch
>>the analytic part disabling it all.  However, is there some process
>>that
>>the package should undergo?  Like, we have ungoogled-chromium, but I
>>know of no project that has "ungoogled" dart.
>
> To disable analytics entirely, you should use patches or snippets. When you send your patch series, we'll review tge source code and give you feed back if needed.
>

Perfect

> Some things to be aware of: some packages include pre-built versions of their dependencies. Can you check none of the package you build has a hidder .jar somewhere? If so, we have to remove them in a snippet.
>

I might be wrong, but java should not be involved here (I'm not
including java as an input).  I think it will be required when building
with the android sdk, but I still haven't tried running flutter yet, so
I've no idea.

However, during the "code polishing" I'll verify again that no binaries
are in the repo! (At first I tried using their tar.gz release, but they
included a full debian distribution (1.1Gb of gzipped data, 45Mb of
code)).

The repo is quite clean (with the downside that I have to specify all
compiler dart dependencies by hand.

I'll send a tentative patch series during the week, hopefully.

Thanks!
Nicolò

>>
>>What is the way forward?
>>Thanks, Nicolò
>>
>>
>>[1] http://https://dart.dev
>>[2] https://flutter.dev/


      reply	other threads:[~2020-11-24 13:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 13:26 Dart Compiler Nicolò Balzarotti
2020-11-24 13:41 ` Julien Lepiller
2020-11-24 13:48   ` Nicolò Balzarotti [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sg8yyifv.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me \
    --to=anothersms@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).