Earlier quoted context omitted.
It's really not. YAML is a superset of JSON, but you wouldn't call a YAML document a JSON document. The set of all colors is a superset of the set containing only orange, but calling every color orange makes no sense.
I don't think it's exactly right to call it a superset either.. It adds types and constraints that have no effect on the resulting transpiled code besides an insurance that said type constraints are being met. To better illustrate what I mean, in the start of a Unix script you sometimes have them augmented with #!interpreter. But this extra contextual information is not a superset of the scripting language itself. Li…
Office 365 is being completely rewritten in JavaScript
451–459 of 459 posts
Re: Office 365 is being completely rewritten in JavaScript
#452Earlier quoted context omitted.
C# doesn’t easily compile to the web. This is why they are rewriting office 365 in the first place right?
They just demoed running a winforms app in the browser using .NET CORE so maybe it would be less work/more successful to explore this path instead of trying to somehow re-implement the oxygen-sucking monster that is Excel using only the "new hotness (tm)". I bet this is only the new stuff like Delve and the less functional, more social apps/components. I can't imagine how they could pull this off for a full version o…
Re: Office 365 is being completely rewritten in JavaScript
#453Earlier quoted context omitted.
Lua, Python, Ruby, ...?
Can you embed any of those in Office documents? No.
And by the next "best" thing, I actually mean the next worst thing, because I've written apps that interop with VBA macros and no man or woman should ever suffer such an experience.
Re: Office 365 is being completely rewritten in JavaScript
#454Earlier quoted context omitted.
Thats because the team that wrote Groove Music (and Movies & TV) originated from the Zune desktop player and Windows Media Center. In fact it still used a lot of core code from the Zune days for things like library management and DRM. Source: former dev on the team.
The Zune desktop app has to be the best music player I've ever used, it was awesome. I continued to use it long after I moved on from my Zune HD. Sad to see something so awesome abandoned.
Re: Office 365 is being completely rewritten in JavaScript
#455Earlier quoted context omitted.
Can you embed any of those in Office documents? No.
If it has a library that provides interop with the Common Language Runtime, then it's the next best thing. And by the next "best" thing, I actually mean the next worst thing, because I've written apps that interop with VBA macros and no man or woman should ever suffer such an experience.
Re: Office 365 is being completely rewritten in JavaScript
#456I am slightly surprised by the choice to use ECMAScript instead of WebAssembly.
Re: Office 365 is being completely rewritten in JavaScript
#457Re: Office 365 is being completely rewritten in JavaScript
#458Earlier quoted context omitted.
As much as I can imagine MS would love to kill VBA it would be a major loss of business if they did. Oil and Gas lives in the stuff and would probably even sue MS if VBA died. That said could it be getting a much needed fixup... probably. I suspect the same is true of COM plugins.
I rewrote a 3000 line VBA function into C# earlier this year for a Oil/Gas company. It was surprisingly easy. Sometimes tedious, but easy. It runs faster, it's easier to maintain and now they can slap whatever front-end they want on it. Is it money, fear or gatekeeping that keeps these VBA programs untouchable?
I was involved in work with a regional financial institution. They had a suite of line-of-business apps written in Access and VBA.[0] This was in a pure support and maintenance mode. This series of apps was written over the course of a decade by one developer nee business user. It represented a literal Great Wall of Chesterton.[1] There was so much process and institutional knowledge tied into this suite and the original developer left after being absorbed into the IT organization.
Some fun observations from work that was done on this suite of applications:
- "We can tell where the original developer learned various programming techniques and when something was written based on that."
- There was a source control and deployment app written entirely in Access DBs and VBA
- There were two scheduling applications, one designed to replace the other, but the first never fully retired. These launched jobs based on dependencies and timings.
- The applications ran in Access 2010. No upgrade was possible due to observed breakages when attempting to change.
- A Windows security update caused an outage for a day.
- Some data was centralized into a SQL Server instance and Access was a thin app layer on these tables. Others held data in the Access database.
- Different apps could reach into and run arbitrary queries on data of other apps. This was sort of RPC. Huge spooky action at a distance.
- There is a ticking time bomb based on Access database size limits. They run compaction jobs on a regular basis, with increasing frequency. One of the core apps will simply stop working one day in the not so distant future when its database cannot be compacted to be smaller than the Jet engine limit of 2GB.
I mentioned that this thing was in perennial support and maintenance mode. There were several assessments over the years for a migration to .Net. All were eventually scuttled due to cost and fear of functionality shifts. No one knew if what was there was correct, and some of the bugs we fixed demonstrated that there was plenty that was incorrect, though scope and impact were difficult to measure. No one wanted to own a migration due to the likely fallout. Different would be wrong, even in the face of huge evidence to the contrary. A C-suite executive was ousted largely over this suite of applications. The Access lives on.
Eventually a migration, in part or whole, will be necessary. It will be expensive. It will be painful. Each day increases the expense and pain. But every day, it is cheaper and easier to run and maintain.
[0] This thing hit commercial and customer facing processes, internal things like HR, letter generation, asset management, and basic reporting, among other things.
[1] See: https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence
Note: Throwaway because of the level of detail
Re: Office 365 is being completely rewritten in JavaScript
#459Earlier quoted context omitted.
IE11 will never support wasm, so I suspect wasm isn't their first choice eh
This is a good point. MS has agreed to support IE11 until 2025. I'm not sure if that means they have an internal mandate that Office 365 must work with IE11, but I wouldn't be surprised. Those poor poor MS developers.