On Thu, Sep 3, 2020 at 3:53 AM Chary Chary <chary...@gmail.com> wrote:

> Martin,
>
> I know this is a bit of a deviation from the topic, but did you consider
> porting the core to Golang, instead of C++?
>
> I am actually sure you did, but just interesting to hear why you didn't go
> this way
>

Some years ago I had the opportunity to define a brand new project and
build a new team for it, and it turned out the implementation was well
suited for something like Go: relatively simple long-running servers
mediating between various distributed services, with some basic data
analysis code. I was excited to discover Go at the time and chose to
implement everything in it, and I was hoping that it might become my
favorite new powertool and dove in with great enthusiasm. I walked out the
other end of that tunnel after a year or two, disheartened at the
many weird quirks of the language, the various missed opportunities for
helping keep things functional (not even close), some of the hype (no,
co-routines will not solve all your concurrency problems and they're
tricky), and its community prescribing methods I disagree with ("don't
worry about abstracting, just cut-n-paste these same patterns of code all
over"). And the absence of generics hurts. Even the aesthetics compelled by
its clever use of capitalization started to weigh down on the team's
appreciation of their source (it worked fine and ran fast, but I don't
think anyone really "liked" their code). There's a lot to say; my point is
that I've invested the time to learn it well enough that I know it's not my
favorite thing to play with. Go gets some things so right - in particular,
interfaces - but it gets many other things wrong, in my view. I'd use Go
again in the future, but for pragmatic reasons, just to get things done,
and if I wasn't going to have an emotional attachment to the project; but
not for my fun projects. Plus Python for scripting things gets you so much
more in terms of libraries.

The good thing is that the new core will have a protobuf boundary, so if
you like you could process it in Go.



>
>
> On Friday, August 14, 2020 at 1:54:49 PM UTC+2 Chary Chary wrote:
>
>> On Friday, August 14, 2020 at 12:46:54 AM UTC+2 bl...@furius.ca wrote:
>>
>>> Or use two separate clones
>>>
>>
>> 2 separate clones I assume will be in 2 separate directories. Where in
>> this case do you point PATH and PYTHONPATH?
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beancount+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/f7372574-d184-49e9-bf68-364c1cad8b12n%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/f7372574-d184-49e9-bf68-364c1cad8b12n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhNfq6bK%3DGcs%2BSyHqL%2BCwX_vi6EvXGiR%2BDpmmZEPA6bnfQ%40mail.gmail.com.

Reply via email to