Live data from Hacker News

Viewing profile — briancr

briancr

HN member
Joined
Sat, Nov 11, 2023, 12:16 AM UTC
HN karma
29
Public activity
25 items

About briancr

Computational bioscientist

Recent public activity

  1. comment
    Comment #46841985

    Yes, multithreading seems to be a consistent theme among the comments.. so I should definitely look into that. Thanks for the comment. (I actually haven’t done much threaded progra…

  2. comment
    Comment #46839116

    Yes and the simplicity extends to function definitions too, since you don’t have to specify any type info. E.g. f :: { ; print(args) } Brevity is especially nice for inline/anonymo…

  3. comment
    Comment #46836092

    “IMO it's pointless to distinguish syntactically between iterating forwards and backwards” — I completely agree. It’s really a compiler-macro limitation that’s preventing me from d…

  4. comment
    Comment #46835982

    Also, if someone else has access to the member, meaning that there is an alias to the member, then the reference count should reflect that. Here’s an example: i :: int | 1 referenc…

  5. comment
    Comment #46835972

    No, there are both referenced-based and tracing-based GC routines that will deallocate short-lived objects. Sorry, I was just trying to enumerate the ways memory goes out of scope …

  6. comment
    Comment #46831329

    Seconded.

  7. comment
    Comment #46831270

    Yes very C-like.. One immediate difference is that in these C-like scripting languages there’s a split between definitions and executable commands. In Cicada there are only executa…

  8. comment
    Comment #46831136

    Yes I like this one. It’s similar and even more C-like, in that it discriminates between classes, class instances, functions, methods vs constructors, etc. (Cicada does not).

  9. comment
    Comment #46829377

    This one’s Brood VI!

  10. comment
    Comment #46829339

    Very cool! I’ve never used Kotlin..

  11. comment
    Comment #46828754

    There’s no multithreading so race conditions don’t apply. That simplifies things quite a bit. There’s actually no ‘free’, but in the (member -> variable data) ontology of Cicada th…

  12. comment
    Comment #46827992

    Yes there are lots of runtime checks.. unfortunately, but I always fork the time-consuming calculations into C anyway so those checks don’t really affect overall performance much. …

  13. comment
    Comment #46827447

    Yeah this is why the syntax is customizable.. maybe it’s not optimal. The example I gave was strange and I’ll have to change it. Not sure what I was trying to show there. The basic…

  14. comment
    Comment #46826636

    I know, I was dismayed to find out that there’s even another scripting language called Cicada. The name came when I was living in Seattle and missed the sounds of east coast summer…

  15. comment
    Comment #46826619

    There’s no multithreading capability built into Cicada. So a given instance of the interpreter only has a single concurrent state, and all C callbacks share memory with that global…

  16. comment
    Comment #46826524

    Good questions! The short answer to the first is that the language is interpreted, not compiled, so optimizations are moot. Aliases are strongly-typed which helps avoid some issues…

  17. comment
    Comment #46825516

    Thanks! I’m unfamiliar with Janet but I’ve looked into the others you listed. One personal preference is that a scripting syntax be somewhat ‘C-like’.. which might recommend a stra…

  18. comment
    Comment #46825277

    Should have replied directly —- thanks! That’s a great list..

  19. comment
    Comment #46825090

    To be more specific (see my general comment), I’ve used the language in two open-source projects: 1) a chromosome conformation reconstruction tool, and 2) a fast neural network gen…

  20. comment
    Comment #46825035

    Thanks for the references! Writing a language was almost an accident — I worked on a neural networks tool with a scripted interface back around 2000, before I’d ever heard of some …

  21. story
    Show HN: Cicada – A scripting language that integrates with C

    I wrote a lightweight scripting language that runs together with C. Specifically, it's a C library, you run it through a C function call, and it can callback your own C functions. …

  22. story
    Show HN: Added visuals to my 1-second neural network generator

    This website is for newbies to machine learning, and I’ve found the graphics really help to demystify what exactly the model is doing. I’m considering applying this to helping high…

  23. story
    Show HN: APIs for quick (1-second) neural network generators

    I developed interfaces to call my company’s neural network generator directly from an application. Currently we have C/C++ and MATLAB APIs (and a shell script), and plan to add R a…

  24. comment
    Comment #38262990

    As a newbie I really enjoyed your explanation of the synthesis process and why everybody should Fourier-sum phases rather than amplitudes.

  25. story
    Show HN: Quick (1 sec) neural network builder with architecture search

    This project grew out of my frustrations with wanting to experiment with NNs, while a) not knowing which architectures to use, and b) waiting forever for training to finish using s…