109 points by yaronsc 2 months ago | 33 comments
raydenvm 2 months ago
dtagames 2 months ago
I've found you can already paste an architecture diagram into Cursor and use that to guide code[1]. I make mine in Xmind because there's no need for special, rigid formatting.
[0] https://en.m.wikipedia.org/wiki/Computer-aided_software_engi...
[1] Diagram as code example from my dev blog: https://davidbethune.com/blog/watsonDevBlog28
d-lisp 2 months ago
westurner 2 months ago
Years ago I tried ArgoUML for generating plone classes/models, but there was a limit to how much custom code could be round-tripped and/or stuffed into UML XML IIRC.
Similarly, no-code tools are all leaky abstractions: they model with UI metaphors only a subset of patterns possible in the target programming language, and so round-trip isn't possible after adding code to the initial or periodic code-generation from the synced abstract class diagram.
Instead, it's possible to generate [UML class] diagrams from minimal actual code. For example, the graph_models management command in Django-extensions generates GraphViz diagrams from subclasses of django.models.Model. With code to diagram workflow (instead of the reverse), you don't need to try and stuff code in the extra_code attr of a modeling syntax so that the generated code can be patched and/or transformed after every code generation from a diagram.
https://django-extensions.readthedocs.io/en/latest/graph_mod...
I wrote something similar to generate (IDEF1X) diagrams from models for the specified waterfall process for an MIS degree capstone course.
It may be easier to prototype object-oriented code with UML class diagrams in mermaid syntax, but actual code shouldn't be that tough to generate diagrams from.
IIRC certain journals like ACM have their own preferred algorithmic pseudocode and LaTeX macros.
yaronsc 2 months ago
aqula 2 months ago
mentalgear 2 months ago
genewitch 2 months ago
Reply to post: "any"?
[0] I accept large checks for allowing setting seeds on-prem.
nivertech 2 months ago
yaronsc 2 months ago
mpetrovich 2 months ago
Looks interesting, best of luck!
dantastic 2 months ago
sky2224 2 months ago
I'm probably a bit too trusting, but holy hell does that still give a terrible first impression when we have in-browser solutions available to show code demos.
yaronsc 2 months ago
magicalhippo 2 months ago
I see some thing I recognize, diagrams, but nothing else makes sense.
potamic 2 months ago
I suppose it's also a general question about the many new AI applications in the market, because these flagship models are getting really good by the day, and seem to be eating up into each and every of those use cases.
yaronsc 2 months ago
bwfan123 2 months ago
yaronsc 2 months ago
smallnix 2 months ago
rco8786 2 months ago
Feels like we're onto something here.
victorbjorklund 2 months ago
sky2224 2 months ago
Any plans to create systems that allow this to be embedded in existing code bases? It'd be neat to be able to sketch out new systems that your tool could generate code for that seamlessly hooks into an existing system's architecture, especially if it could have a UX similar to how copilot or cursor behave in how they're directly inline with the code.
yaronsc 2 months ago
baumschubser 2 months ago
Wondering how no-code tools like this handle those discrepancies between the super-detailed specs and the real world diagrams
yaronsc 2 months ago
vasanth7781 2 months ago
2 months ago
Rexxar 2 months ago
yaronsc 2 months ago
fock 2 months ago
swyx 2 months ago
2. (sorry to bring it up but have to ask) how does Diagrid/Dapr compare to Temporal? i browsed your docs but there wasn't much that came up. is Dapr strictly dag based?
yaronsc 2 months ago
2. Dapr has 9 APIs, one of which is Workflows which indeed competes with Temporal. Dapr Workflows isn't DAG based, it's code-first. This tool allows you to start with an external representation
revskill 2 months ago
curtisszmania 2 months ago