WASHINGTON Rewriting your DNA is getting closer to reality: A revolutionary technology is opening new frontiers for genetic engineering ‚Äî a promise of cures for intractable diseases along with anxiety about designer babies.

Hundreds of scientists and ethicists from around the world are gathering in Washington this week to debate the boundaries of human gene editing, amid worry that the fast-moving research may outpace safety and ethics scrutiny.

It’s a question that gained urgency after Chinese researchers made the first attempt at editing genes in human embryos, a laboratory experiment that didn’t work well but did raise the prospect of one day altering human heredity ‚Äî passing modified DNA to future generations.

“This is a technology that could have profound implications for permanent alteration of the human genome,” molecular biologist Jennifer Doudna of the University of California, Berkeley, wrote in the journal Nature on the eve of the international summit.

Doudna co-invented the most-used gene-editing tool, and her calls for scientists, policymakers and the public to determine the right balance in how it’s eventually used led to this week’s gathering.

At issue are tools to edit precisely genes inside living cells, finding specific sections of DNA to slice and repair or replace much like a biological version of cut-and-paste software. There are a few methods but one with the wonky name CRISPR-Cas9 is so fast, cheap and simple for biologists to use that research is booming.

As for that preliminary embryo research, it’s nowhere near ready for real-world use, but there’s controversy over whether and how to continue such experiments to see if it eventually will work.

On one side are scientists who say the ultimate goal is to prevent mom and dad from passing devastating diseases to their children.

“This technology is poised to transform preventive medicine,” Harvard geneticist George Church wrote in Nature.

He added a warning: If mainstream scientists can’t explore heritable gene editing, that “could put a damper on the best medical research and instead drive the practice underground to black markets and uncontrolled medical tourism.”

Doudna adds that a complete ban on such research could block important discoveries. British researchers, for example, plan to alter embryos to study early human development, work that could shed light on miscarriages.

On the other side are critics who say that so-called germline editing ‚Äî altering sperm, eggs or embryos to affect future generations ‚Äî has been widely regarded as a line science shouldn’t cross. They argue that standard in vitro fertilization techniques to test the genetics of embryos before they’re implanted, or before adoption, are alternatives. And they raise the spectre of parents who can afford designer babies with specific traits.

“The medical arguments are tenuous and the possible social consequences are grave,” said Marcy Darnovsky of the Center for Genetics and Society advocacy group.

In the U.S., the National Institutes of Health has said it won’t fund human germline editing research, although private funding is still possible. Laws and guidelines in other countries vary widely.