Large language models can generate programs that compile and pass functional tests, but these outcomes are insufficient for evaluating code in secure multi-party computation (MPC). MPC programs must also follow the target interface's programming constraints, implement the requested algorithm, and satisfy the stated secure-operation efficiency criteria. Using NLMPC, a staged code-generation framework, we conduct an empirical study of 3,600 C++ programs generated by three LLMs for three algorithms under four generation settings that vary API instructions, explicit programming constraints, and iterative repair. We evaluate each program along four dimensions: functional correctness, MPC conformance, algorithmic adherence, and MPC efficiency. Although 59.2% of the generated programs passed the functional correctness tests, only 31.0% satisfied all four criteria. Functional testing alone did not establish conformance, adherence to the requested algorithm, or compliance with the stated efficiency criteria. Adding MPC-specific constraints revealed trade-offs: aggregate functional correctness and MPC conformance increased, while algorithmic adherence decreased. Validation-guided repair had a higher observed overall pass rate than single-pass generation, but this improvement was not statistically significant after correction. Its recorded token use, including LLM-validator calls, was 1.77×-3.19× that of single-pass generation. These findings show that passing functional tests does not establish the overall quality of LLM-generated MPC code, and that additional constraints and repair do not necessarily improve all evaluation dimensions. They motivate separate checks for functional behavior, MPC programming constraints, algorithmic invariants, and source-level efficiency, rather than relying on compilation or functional testing alone.
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
The ongoing work building a Raspberry Pi cluster consisting of 300 nodes is presented, with potential use cases being an inexpensive and green test bed for cloud computing research and a robust and mobile data center for operating in adverse environments.
P. Abrahamsson, S. Helmer, Nattakarn Phaphoom et al.· IEEE International Conferenc...· 110 citations· ⚡7
The results indicate that software developers are a slightly happy population, but the need for limiting the unhappiness of developers remains, and 219 factors representing causes of unhappiness while developing software are identified.
D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al.· International Conference on...· 84 citations· ⚡6
A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.
Microsoft Research Blog· microsoft.comOct 15, 2026
Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.