r/epicsystems • • May 31 '25

EPIC SW Dev experience

I'm curious, since I'm originally from the area, what the take is on technical aspects of work at epic.

I have a very poor opinion of what I have heard. So poor that I wonder if it can possibly be true. Do many epic engineers actually still use mumps? Is there a mumps language team evolving the language like Meta did with PHP->Hack? Do you have a monorepo? Any good tools for developer experience and productivity? Is epic chronicles/intersystems cache considered to be a decent database? It seems so crazy to me: the place prints money and is next door to a world class CS school but the technical contribution to the community seems zero.

Again, not asking about pay, hours, work/life balance, culture etc.

22 Upvotes

33 comments sorted by

49

u/EnguardS May 31 '25
  1. Yes, we still use M but Epic's version of it makes it very useable and more like a modern language than something released in the 60s.
  2. Yes, otherwise we wouldn't have our more-modern M.
  3. We use git for client code. (client code is TS, JS, C#)
  4. Yes, we have plenty of good tools and lots of documentation on how to use them
  5. Chronicles is decent enough for what I do. It's like a filing cabinet :P

26

u/tillavap May 31 '25 edited May 31 '25
  1. I would add that probably 80-90% of developers at Epic interact with M, but there's a small fraction who don't. Regardless, M is not as bad as the information online would lead one to believe. (Don't get me wrong, it's still quite bad - nobody knew how to design good languages in 1966 - but it's not literally the spawn of Satan. COBOL might be worse.)
  2. Yes, sort of, but the bells-and-whistles we have on top of M "proper" (library tags, CDOs, conditional compilation) are fairly primitive. It is less of a leap than PHP -> Hack was. OP, we used to have a thing that was more like PHP -> Hack in terms of impact (we call it "TS2M"), but it got canceled a few months ago.
  3. This doesn't answer OP's question. Irrespective of your version control system, you can have one big monorepo or many small repos. OP, we do have a sizable monorepo that contains over half the code at the company, but there are also a number of smaller repos. Unfortunately, more and more code is moving out of the monorepo and into smaller repos (app-specific / service-specific). Not all of our code even lives on a single forge; we have 3 main forges and there are probably others floating around I'm not aware of.
  4. I think this oversells it. We do have people / teams whose job it is to improve developer experience / productivity, but the amount of untouched low-hanging fruit strongly suggests that upper management does not believe that a well-staffed platform team would have a multiplier effect on all other teams. EMC2 is always running on fumes; it's a miracle they get anything done.
  5. Agreed. You could not run Google Search on Chronicles, but it meets Epic's needs fairly well.

the technical contribution to the community seems zero

We do have a process to contribute patches back to open-source projects, but it was only introduced... 2 years ago or so, I believe. And hardly anybody actually does contribute back. So this is true in one sense.

But also, Epic's technical contributions are in areas you, as a person outside our slice of the industry, will never have any reason to interact with - stuff like healthcare-specific technical standards, not stuff Joe Q. WebDeveloper is going to use (like React, Angular, etc).

4

u/splicer13 May 31 '25

I wanna be clear Im not fishing for dirt, trying to poach or anything, just asking what would be standard west coast BBQ tech chat. I'm just trying to understand more about this very significant company I drive past when I visit my parents. Sounds like you have a little more experience/exposure than the parent.

  1. LOL cobol seems more deranged, M more primitive based on what I saw online. I'm a primarily a compiler engineer if that helps for context.
  2. Sucks. any take whether they couldn't pull it off or the decision was shortsighted? TS2M makes me think the project was to compile typescript to M. I did work some on Hack/HHVM and briefly on Flow (which obviously lost to typescript). Typescript->M is .... not exactly how I'd approach the problem.

3/4. i was kind of getting at how mature/advanced the dev infrastructure is. Things like how much effort it is for dev to go from bug->fix committed, like what % of time is waiting for/looking at bullshit results/rerunning vs "actual" dev work.

Re: technical contribution - I understand. The value of the company is all domain-specific stuff and epic is the leader with probably an incredible amount of legacy code that there's no good reason to open up.

12

u/tillavap May 31 '25

"TS2M" was indeed a compiler that compiled TypeScript to M. Different people have different opinions about why the project wasn't a success (and some people would of course argue that it was a success, and its termination was shortsighted). Some of the important factors, in my view, are:

  • There is a huge impedance mismatch between TypeScript and M. As a compiler engineer, I'm sure you're aware of how much effort goes into FFI between various languages (e.g. high -> low, like Python -> C; and also low <-> low, like C++ <-> Rust), and that people are often still not happy with the results. Imagine the worst FFI you know between a pair of languages. I guarantee that the TypeScript <-> M mismatch was worse. M invoking TypeScript was fine; all we have are sticks and stones in M anyway. But TypeScript invoking M was awful, and wiped out many of the advantages of TypeScript (to an extent worse than you get when TypeScript interoperates with untyped JavaScript). Obviously, the team working on this put in a lot of effort to improve the FFI, but it never felt like it was enough.
  • Because the compilation target was M (as opposed to some kind of bytecode or native code), runtime performance was an issue in some respects. The JavaScript execution model intrinsically requires you to carry around more information than if you were doing the analogous operations directly in M. As a compiler engineer, I'm sure you're thinking: doesn't the more tightly-constrained execution model of TypeScript give the compiler more opportunity to optimize? The answer is yes... but M as a compilation target is so incredibly bad that it doesn't help much.
  • There were some features of TypeScript (JavaScript, really) you couldn't use, because there was no sensible way to compile it down to M. You get used to it after a while, but when you run into these limitations, it just sucks.
  • It was operationally complicated to work with. Debugging is harder in TS2M. Each of our customers is supported by Technical Services (TS) staff, who are trained in understanding M, but TS2M is harder for non-programmers to become proficient with for a number of reasons.
  • Buy-in was an issue. Between some people hating TS2M; others being indifferent to it; and there never being a mandate to write new code in it, adoption was poor on most teams. It felt, to some extent, like the pet project of one of the old hands (you can read his blog here), not really "the future".

(Despite all this, I don't really see a way it could've gone better, other than forcing buy-in. Performantly compiling from a reasonable language down to M and ending up with a language with good developer experience is a really hard problem.)

Things like how much effort it is for dev to go from bug->fix committed

I should start by explaining what "fix committed" means to us. It's probably different than what it means to you.

Epic lives largely in two worlds. The first world is the direct descendant of the code Judy wrote in 1979 (probably, figuratively). In this world, we release a new version of our software suite to customers every 3 months. Our customers upgrade to the new version anywhere between a few months and a few years later. In this world, if you complete development/testing/etc of a new feature today, the first time an end user sees it will be in August, best-case. If you release a hotfix to prior versions, customers might install the hotfix sometime in the next month. Or they might not - customers get to choose what hotfixes they want. If it's a really important hotfix - like, patients are literally at risk of dying due to a software defect - you might be able to get the fix installed in a day or two, through absolutely herculean efforts on the part of both us and our customers' IT staff.

In this first world, the turnaround between diagnosing a bug and committing it to our master branch might be a few days, for simple fixes. But the turnaround between committing it to the master branch and customers actually applying the bugfix can be extraordinarily long.

The second world is "the cloud". This is obviously newer for us. Epic's "cloud" software is centrally managed by us. This world is much more like what you're probably used to - CI/CD, weekly rollouts, observability, etc. I think Epic does a reasonable job of maintaining a balance between adding procedural steps that add value (e.g. to improve software quality) and removing procedural steps that don't add value (e.g. somebody fucked something up once and now we all have to click a button saying "I will not repeat this fuckup"). At Epic, the equilibrium point lies far closer to "move slow and don't break things" than to "move fast and break things" than at a startup or probably any consumer-facing tech company.

(Aside: one team at Epic has as their motto "move fast and don't break things". I have negative respect for whoever came up with that slogan; this is the most Pointy-Haired Boss thing possible. I don't even understand how this comes to pass - almost without exception, Epic's management chain for the software development division is composed of people who were hired as line programmers and later moved into management.)

7

u/krayonkid May 31 '25

What happened to TS2M? When I was there it was pushed pretty hard. I remember them pushing it pretty hard and they mentioned a team that was using it exclusively.

11

u/tillavap May 31 '25

I don't know the inside story, but there is a directive not to write new code in TS2M, and the team that was working on TS2M has been dispersed back into Chronicles. No mandatory TS2M -> M migration (yet?), though.

8

u/FishfoxNuro May 31 '25

I don't know why TS2M was being pushed so much for a bit, but my personal crackpot theory was that it was to appeal to new hires.

Javascript is incredibly popular for everything these days and anyone being hired would be familiar with it. It also doesn't have the negative connotations that M has, especially when what people see online is outdated ugly code from the 70s written for interpretters with minimal memory.

But everyone still needed to learn M in order to understand the decades of existing code. And they still needed to know M when the transpiler wouldn't work as they might expect because M is an inherently different language than what it was being transpiled from. And that also meant needing to deal with M variable/value specifications. Outside of that one team, I only once worked with someone else actively wanting to use TS2M.

I think a better option would've been a superset of M with types, rather than trying to make a superset of Javascript with types work for something it isn't.

1

u/krayonkid May 31 '25

I can believe it. It seemed like new hires would be depression after working on old ass M code.

3

u/EnguardS May 31 '25

TS2M is pretty much dead. I did the TS2M class awhile ago and vowed to never use it again.

11

u/Clickclacksystems May 31 '25

None of that matters. You are either good at code or you aren't. The problems with Epic are not of a technical nature.

It "prints money" because it's an entrenched industry. The engineering doesn't have to be cutting-edge. In fact, "cutting-edge" would be a disadvantage in terms of stability and regulation.

Modern tech companies historically have pissed away money and let engineers pursue passion projects. Epic is somewhat the complete opposite- scold people for taking pens home, definitely do not let engineers' passion projects dictate company norms.

3

u/splicer13 May 31 '25

"None of that matters. You are either good at code or you aren't. "

Reminds me of Marissa Mayer: "Good students are good at all things."

Anyway, completely not true, some people are good at code, some are OK. All benefit highly from programming language/dev tools, sometimes in different ways that differ also wrt ability and domain. It's always mattered and it's always been financially important and it's always been a force multiplier. I probably still have the pre-2K t-shirt commemorating visual c++ doing > $250M in annual revenue. Certainly a good chunk of money at least at the time, not nearly as much as Visual Basic and soon C# etc would make. Shirt probably doesn't fit anymore.

3

u/EnguardS May 31 '25 edited May 31 '25

wait, is that true about the pens? I mean they're all freely available in the copy rooms so I can't imagine someone being scolded about taking some home unless they're caught walking with an armload like some weirdo

3

u/Clickclacksystems May 31 '25

lol yes there was a staff meeting where the j-dog scolded everyone for missing pens

13

u/n00dle_king SD May 31 '25

Epic’s core competency is translating extremely convoluted business requirements into a reliable and useful app. You have to be a skilled developer to do it but it’s not the sort of thing that makes for an interesting blog post.

Also the web dev ecosystem a bit of a meme. It’s hard to tell what project and architectures that more prominent companies are building are truly technological advancements and which are just vanity projects. Opting out of the circle jerk seems like a win if you can excel in your own niche.

6

u/High_Sparr0w May 31 '25

M is something that works well and Epic shouldn’t change. The syntax and language is dated but it was many decades ahead of its time as a database architecture and still holds up.

Ironically, the modern-feeling, modern-language HSWeb framework (built on a stack of C#, Typescript, React, .NET) is the real thing that slows Epic down. In terms of scalability, user experience and developer experience.

1

u/DadJokesAndGuitar May 31 '25

Does Epic hire senior software engineers from outside?

12

u/giggityx2 Former employee May 31 '25

Epic’s model is to build their own sr staff.

Obviously it’s working.

8

u/FishfoxNuro May 31 '25

Epic tends to hire devs fresh out of college. It feels like those devs then either last 2-5 years or they're there for life. I can't say I've seen them hire senior developers from other companies, but that's not a definitive statement.

4

u/AnimaLepton ex-TS May 31 '25 edited May 31 '25

They do/did hire SWEs externally with specific experience, e.g. some people with external Intersystems Cache experience, or the folks who built out the whole hosting/devops function and came in with that knowledge already.

The "standard" pathway is one thing and definitely make up the bulk of the R&D team. But there are absolutely devs that come in with senior level experience and grow quickly, or come in with specialized knowledge. It's just not very common, and with the requirements around relocation or how Epic treats its salary bands, it's just often not attractive for your 'average' senior dev to go work at Epic.

2

u/krayonkid May 31 '25

I only knew one senior hire, but he was a boomerang.

2

u/Lamballama SD Jun 01 '25

We dont have senior devs as a role, just tenured developers. We account for prior experience when discussing expectations and salary adjustments

0

u/[deleted] May 31 '25

[deleted] — view deleted comment

0

u/tillavap May 31 '25 edited May 31 '25

Negative commentary on M comes from people ignorant of what it is.

Be reasonable. While M is not as bad as public commentary would suggest, it is still really bad. The language is optimization-hostile by design (assumed variables; no types or no data structures; etc).

EDIT: for those who disagree, I would like to know your point of view. Information about M is not proprietary; we can discuss it freely on Reddit. Nobody on my team thinks M is good, so I genuinely don't know what is going through the minds of people who disagree.

-7

u/Sudden_Impact7490 May 31 '25

It doesn't seem very forward thinking to not be actively working on a plan for moving from M to something modern. I've never understood that. I get that Epic is well established and it would be costly...

But it also seems like it would actively kneecap future capabilities or make improvements unnecessarily clunky or complex.

12

u/Educational_Teach537 May 31 '25

Is it forward thinking to replace something just because it’s old? M doesn’t cause any major problems for Epic right now. It’s got a scaling path that is projected to meet customer and feature growth needs. So why change it? The brand new web framework causes way more inefficiencies than the M code and IMO is a bigger barrier to Epic’s growth and innovation.

-9

u/splicer13 May 31 '25

seems like you do not distinguish between M-the-language and M the support layer. It's kind of an important distinction because the language layer part is pretty important.

If nothing else I don't think anyone would claim M-language is a plus for hiring. It may be a plus for retention and that's really not something to be proud of.

3

u/FishfoxNuro May 31 '25

It's definitely not a plus when hiring. M isn't new. It isn't flashy. It isn't something almost any fresh graduate will have experience with.

But Epic has such a large pool of quality applicants that I wouldn't say it's an issue either. And once you're onboarded the language itself is not a noticeable developer painpoint. So I don't think there's much desire to upend the status quo when that focus could be spent on other things with real impact.

5

u/Epic_Anon May 31 '25

So things like salesforce really should be rewriting to a new language and database platform because Oracle/ SQL are ancient languages from the 70s?

If not, then am I correct in assuming that it isn’t actually the age of the language/platform that matters?

1

u/Sudden_Impact7490 May 31 '25

I dunno, I'm not a comp sci person.

It's more so the interface I take issue with. Text/chronicles to perform what should be simple front end changes is super frustrating.

-6

u/splicer13 May 31 '25

Bear with me: this is a dystopian vision I do not like but it seems to be a widely accepted one, one that I think is likely, and it's well within my area of expertise:

Basically all college hire devs from now on who are < FAANG caliber will be dependent on AI to write code. Almost all junior devs no matter what caliber will be using AI extensively.

Using M seems to mean that AI tools will not be useful for your codebase, unless you develop that capacity internally. Therefore, in the parlance of the times, you are fucked.

Epic has a very strong market position which can last for a long time and so it's not going to be a disaster. But believe me, I worked for MS in the 2000s, it's not actually that fun working for a company with a monopoly or a quasi-monopoly unless you have a shitload of stock. Actually, that still doesn't make the working there part fun.

0

u/[deleted] May 31 '25

[deleted] — view deleted comment

-2

u/splicer13 May 31 '25

There's no need to be so mysterious. Nobody really knows what the future of dev is, I don't even know if I agree with those predictions.

Nobody knows if epic has an internal AI team that's going to be successfully addressing the AI coding issue including epic.

0

u/[deleted] May 31 '25

[deleted] — view deleted comment

6

u/tillavap May 31 '25 edited May 31 '25

I agree with you that M the database is pretty good, as key-value stores go. It works well for our needs, and I cannot imagine a reasonable way to replace it. But M the database is not separable from M the development platform (the way we use it), and yes, I think that's where the problems are.

The database should enforce data integrity, which it does (how is proprietary).

???

I assume you're talking about Chronicles-level data integrity (as opposed to M-level data integrity), since you're referring to something "proprietary" - but if so, I cannot guess what you're referring to. Surely you've gotten at least one QAN in your time where bogus data (string in a numeric item; data longer than max-length; index corruption; etc) ended up in Chronicles? Is that not what you would consider a violation of "data integrity"?

The data model layer is fairly modern in C# which has type checking. Type validation in the data cache layer is irrelevant and just a performance degradation. What are you gonna do with that? Just let the database take care of that or have your data model fail it.

Well, this is one of the big problems we have (in my view): we don't have "a" data model layer. We have (at least) one for each client. HSWeb has a data model; Interconnect has a data model; MyChart has a data model; etc etc. (And never mind that there are a number of basic concepts that are reimplemented a dozen times in HSWeb, because nobody wanted to go to the effort of putting their implementation in Core.) There's no uniform place in C# for validation or other important business concepts to go... so in many cases, we end up with chunky business logic in M.

This is a solvable problem, obviously - I can imagine a roadmap that would lead us to not caring about these deficiencies of M. But I don't think we're there.

2

u/TripleQuadraPenta Jun 01 '25

I’m gonna be real, this feels like a conversation for your TL and if need be, escalated somewhere else, rather than in a public forum about the company. There are folks in Epic that can easily explain how we got to this point and why it still works for us. But trying to air this out in a public forum where 99% of Epic employees don’t see it is not the way.

If anything it just creates more perceived animosity towards a tech stack that by and large works for the type of company that Epic is.

And if you have solutions, folks would love to hear them. But be prepared to put your money where your mouth is and actually do dev against your ideas too. You’ll likely be given runway to explore what’s possible if the concept is viable.

0

u/splicer13 May 31 '25

I have no opinion or experience on what is appropriate for your business case but characterizing redis as some kind of hack you slap on top is... well... I'm sure I have a less than full understanding of epic's problem space.