Search
Close this search box.

We are creating some awesome events for you. Kindly bear with us.

U.S. Researchers Introduce Tools to Simplify Debugging

D2X is a debugging tool that can be easily added to any domain-specific language (DSL) developed by CSAIL Professor Saman Amarasinghe and PhD student Ajay Brahmakshatriya at the Massachusetts Institute of Technology.

Brahmakshatriya claims that D2X is the answer to the difficulty of debugging DSLs. Software programmers may spend up to two-thirds of their time debugging once a programme has reached “code complete” and is ready for testing. D2X is the interface that gives the debugger access to the information it needs to fix a messed-up programme or language.

“Each debugger requires that information in its particular format, which can be a 400-page document,” explains Amarasinghe. If you choose the D2X route, you won’t have that problem. It’s already been handled for you.

D2X is not a standalone programme but a library that may be integrated into other applications. It’s meant to function as an intermediary between a debugger and a specific domain-specific language. The programme integrates exceptionally smoothly with BuildIt. The D2X called “the Achilles heel for DSLs”, just won the Distinguished Paper Award.

In 2019, Brahmakshatriya and Amarasinghe released a programme called BuildIt that simplifies developing DSLs. He aimed to make it easier for experts in fields like climate modelling, bioinformatics, and architecture to create their domain-specific languages (DSLs), even if they had no prior experience with language design.

Ease of use is a significant motivation when developing a DSL for a niche market. The “blur the entire image” function is an example of a function that may be included in a domain-specific language for image processing. More lines of code would be needed to accomplish the same task in a general-purpose programming language. DSLs’ efficiency is yet another selling point. Since the functions are only performed in one domain, they may be optimised and completed rapidly.

Users can create their domain-specific languages with BuildIt, as described by Brahmakshatriya. It streamlines the process of developing a DSL from a high-level language. Moreover, it assists in condensing the language to its most efficient level of specialisation.

Imagine, he continues, that you need a programme to fix a problem. You could develop a programme to solve the whole thing or write a minor programme to solve only the subclass of the problem that interests you. The more narrowly tailored the programme, the quicker it will execute. BuildIt was created to create DSLs according to these standards.

In 2012, Amarasinghe’s team developed Halide, a domain-specific language for processing images. Jonathan-Ragan Kelley, a graduate student at the time, and Andrew Adams, a postdoc at CSAIL, spearheaded its creation.

Halide needs a debugger despite its widespread use across Adobe products like Photoshop. Since writing a debugger is complex and challenging, most tiny DSLs must provide debugging capabilities.

Brahmakshatriya said each DSL needs its debugger. Software programmers may spend up to two-thirds of their time fixing bugs after a programme has been judged fit for testing.

D2X is a library that can be used in conjunction with other debuggers. A snippet of code that can be used in multiple applications. It was made to function as an intermediary between a certain DSL and popular debuggers like GDB and LLDB.

Each debugger has its own data set that must be removed before use. D2X makes it simpler to debug this 400-page document without learning how to utilise any debuggers. When you couple D2X with BuildIt, you effectively eliminate any additional labour. Without adding any more code, a debugger is included in the package.

According to Cornell computer science assistant professor Adrian Sampson, “D2X addresses an inherent contradiction in high-performance software head-on.”

PARTNER

Qlik’s vision is a data-literate world, where everyone can use data and analytics to improve decision-making and solve their most challenging problems. A private company, Qlik offers real-time data integration and analytics solutions, powered by Qlik Cloud, to close the gaps between data, insights and action. By transforming data into Active Intelligence, businesses can drive better decisions, improve revenue and profitability, and optimize customer relationships. Qlik serves more than 38,000 active customers in over 100 countries.

PARTNER

CTC Global Singapore, a premier end-to-end IT solutions provider, is a fully owned subsidiary of ITOCHU Techno-Solutions Corporation (CTC) and ITOCHU Corporation.

Since 1972, CTC has established itself as one of the country’s top IT solutions providers. With 50 years of experience, headed by an experienced management team and staffed by over 200 qualified IT professionals, we support organizations with integrated IT solutions expertise in Autonomous IT, Cyber Security, Digital Transformation, Enterprise Cloud Infrastructure, Workplace Modernization and Professional Services.

Well-known for our strengths in system integration and consultation, CTC Global proves to be the preferred IT outsourcing destination for organizations all over Singapore today.

PARTNER

Planview has one mission: to build the future of connected work. Our solutions enable organizations to connect the business from ideas to impact, empowering companies to accelerate the achievement of what matters most. Planview’s full spectrum of Portfolio Management and Work Management solutions creates an organizational focus on the strategic outcomes that matter and empowers teams to deliver their best work, no matter how they work. The comprehensive Planview platform and enterprise success model enables customers to deliver innovative, competitive products, services, and customer experiences. Headquartered in Austin, Texas, with locations around the world, Planview has more than 1,300 employees supporting 4,500 customers and 2.6 million users worldwide. For more information, visit www.planview.com.

SUPPORTING ORGANISATION

SIRIM is a premier industrial research and technology organisation in Malaysia, wholly-owned by the Minister​ of Finance Incorporated. With over forty years of experience and expertise, SIRIM is mandated as the machinery for research and technology development, and the national champion of quality. SIRIM has always played a major role in the development of the country’s private sector. By tapping into our expertise and knowledge base, we focus on developing new technologies and improvements in the manufacturing, technology and services sectors. We nurture Small Medium Enterprises (SME) growth with solutions for technology penetration and upgrading, making it an ideal technology partner for SMEs.

PARTNER

HashiCorp provides infrastructure automation software for multi-cloud environments, enabling enterprises to unlock a common cloud operating model to provision, secure, connect, and run any application on any infrastructure. HashiCorp tools allow organizations to deliver applications faster by helping enterprises transition from manual processes and ITIL practices to self-service automation and DevOps practices. 

PARTNER

IBM is a leading global hybrid cloud and AI, and business services provider. We help clients in more than 175 countries capitalize on insights from their data, streamline business processes, reduce costs and gain the competitive edge in their industries. Nearly 3,000 government and corporate entities in critical infrastructure areas such as financial services, telecommunications and healthcare rely on IBM’s hybrid cloud platform and Red Hat OpenShift to affect their digital transformations quickly, efficiently and securely. IBM’s breakthrough innovations in AI, quantum computing, industry-specific cloud solutions and business services deliver open and flexible options to our clients. All of this is backed by IBM’s legendary commitment to trust, transparency, responsibility, inclusivity and service.