Special-Purpose Programming Language for the Financial Industry #180159
-
Select Topic AreaQuestion Feature AreaProjects BodyHello, I am currently in the process of developing a programming language for financial transactions, similar to how Perl is specialized for text processing and Fortran is specialized for numerical analysis. I was thinking that the language should have a number of different features that can help someone in this field, such as:
Guidelines |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
You’re definitely thinking in the right direction with a finance-focused programming language. Fintech has a lot of subtle requirements that general-purpose languages don’t handle well, so the features you’re considering make sense. A language that treats monetary values as a first-class concept, works naturally with rational numbers, and can interact with currency data in real time would solve problems that developers usually patch together with libraries and workarounds. It also makes sense to think about transactional safety as something built into the language itself. Having atomic operations, automatic rollback behavior, and reliable handling of time-based financial data would make the language feel purpose-built rather than just another general tool. Even the idea of integrating AI models for price prediction fits naturally into the financial domain and could make such a language stand out. |
Beta Was this translation helpful? Give feedback.
-
|
In the short term, the financial industry will continue to heavily utilize Python, Java, and SQL for their specific purposes. There is also a notable rise in the use of more modern languages like Go and Rust. |
Beta Was this translation helpful? Give feedback.
-
|
Financial domain-specific languages already exist (DAML, LexiFi's MLFi, Rebel). Your proposed features—monetary types, rational numbers, and decimal arithmetic—are already solved by libraries like BigDecimal (Java), decimal.Decimal (Python), and JSR 354 (Java Money). Real-time currency integration and AI prediction are better as libraries, not language features, since they require external APIs and constantly evolving models. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I am currently developing a domain-specific programming language focused on financial transactions — in the same spirit that Perl is specialized for text processing and Fortran for numerical computation. I am exploring what built-in features such a language should provide in order to be genuinely useful for developers working in finance. Some of the features I am considering include: Native monetary data types Real-time integration with financial data sources Built-in support for rational and high-precision math Native AI/ML utilities for financial prediction I’m interested in feedback on whether these kinds of features align with the overall direction of GitHub Projects or whether there are best practices for structuring a language-development project within GitHub’s ecosystem. Guidelines |
Beta Was this translation helpful? Give feedback.
Financial domain-specific languages already exist (DAML, LexiFi's MLFi, Rebel). Your proposed features—monetary types, rational numbers, and decimal arithmetic—are already solved by libraries like BigDecimal (Java), decimal.Decimal (Python), and JSR 354 (Java Money). Real-time currency integration and AI prediction are better as libraries, not language features, since they require external APIs and constantly evolving models.
Creating a new general-purpose language for finance won't gain traction—banks have massive codebases in Python, Java, C++, and regulatory/compliance constraints. Instead, build a domain-specific library or embedded DSL within an existing language, which is how most s…